We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33c1ed6 commit 8b9ac53Copy full SHA for 8b9ac53
lib/MetaCPAN/Web/Controller/Root.pm
@@ -113,10 +113,11 @@ Attempt to render a view, if needed.
113
sub end : ActionClass('RenderView') {
114
my ( $self, $c ) = @_;
115
116
- # This will only affect if `cdn_max_age` has been set.
117
- # https://www.fastly.com/documentation/guides/concepts/edge-state/cache/stale/
118
- # If it has then do revalidation in the background
+# This will only affect if `cdn_max_age` has been set.
+# https://www.fastly.com/documentation/guides/concepts/edge-state/cache/stale/
+# If it has then do revalidation in the background
119
$c->cdn_stale_while_revalidate('1d');
120
+
121
# And if there is still an error serve from cache
122
$c->cdn_stale_if_error('1y');
123
0 commit comments