File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -113,10 +113,11 @@ Attempt to render a view, if needed.
113
113
sub end : ActionClass(' RenderView' ) {
114
114
my ( $self , $c ) = @_ ;
115
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
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
119
119
$c -> cdn_stale_while_revalidate(' 1d' );
120
+
120
121
# And if there is still an error serve from cache
121
122
$c -> cdn_stale_if_error(' 1y' );
122
123
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ sub get_multiple {
77
77
$data -> {authors } = [ @authors {@authors } ];
78
78
$data ;
79
79
}
80
- )-> then( \&_filter_authors );
80
+ )-> then( \&_filter_authors );
81
81
}
82
82
83
83
sub search {
You can’t perform that action at this time.
0 commit comments