@@ -47,7 +47,7 @@ test_psgi app, sub {
4747 surrogate_key =>
4848 ' RECENT DIST_UPDATES content_type=application/rss+xml content_type=application' ,
4949 surrogate_control =>
50- ' max-age=31556952, stale-if-error=2592000' ,
50+ ' max-age=31556952, stale-while-revalidate=86400, stale- if-error=2592000' ,
5151 }
5252 );
5353 }
@@ -73,7 +73,7 @@ test_psgi app, sub {
7373 surrogate_key =>
7474 ' author=PERLER content_type=application/rss+xml content_type=application' ,
7575 surrogate_control =>
76- ' max-age=31556952, stale-if-error=2592000' ,
76+ ' max-age=31556952, stale-while-revalidate=86400, stale- if-error=2592000' ,
7777 }
7878 );
7979 }
@@ -90,7 +90,7 @@ test_psgi app, sub {
9090 surrogate_key =>
9191 ' dist=MOOSE content_type=application/rss+xml content_type=application' ,
9292 surrogate_control =>
93- ' max-age=31556952, stale-if-error=2592000' ,
93+ ' max-age=31556952, stale-while-revalidate=86400, stale- if-error=2592000' ,
9494 }
9595 );
9696 }
@@ -141,7 +141,7 @@ sub test_redirect {
141141 {
142142 cache_control => ' max-age=31556952' ,
143143 surrogate_key => ' content_type=text/html content_type=text' ,
144- surrogate_control => ' max-age=31556952, stale-if-error=2592000' ,
144+ surrogate_control => ' max-age=31556952, stale-while-revalidate=86400, stale- if-error=2592000' ,
145145 }
146146 );
147147
0 commit comments