@@ -20,35 +20,40 @@ my %tests = (
2020 cache_control => undef ,
2121 surrogate_key =>
2222 ' author=DOY content_type=text/html content_type=text' ,
23- surrogate_control => ' max-age=31556952, stale-if-error=2592000'
23+ surrogate_control =>
24+ ' max-age=31556952, stale-while-revalidate=86400, stale-if-error=2592000'
2425 },
2526 ' /source/DOY/Moose-0.01/Changes' => {
2627 code => 200,
2728 cache_control => undef ,
2829 surrogate_key =>
2930 ' author=DOY content_type=text/plain content_type=text' ,
30- surrogate_control => ' max-age=31556952, stale-if-error=2592000' ,
31+ surrogate_control =>
32+ ' max-age=31556952, stale-while-revalidate=86400, stale-if-error=2592000' ,
3133 },
3234 ' /source/DOY/Moose-0.01/Changes?callback=foo' => {
3335 code => 200,
3436 cache_control => undef ,
3537 surrogate_key =>
3638 ' author=DOY content_type=text/javascript content_type=text' ,
37- surrogate_control => ' max-age=31556952, stale-if-error=2592000' ,
39+ surrogate_control =>
40+ ' max-age=31556952, stale-while-revalidate=86400, stale-if-error=2592000' ,
3841 },
3942 ' /source/DOY/Moose-0.01/MANIFEST' => {
4043 code => 200,
4144 cache_control => undef ,
4245 surrogate_key =>
4346 ' author=DOY content_type=text/plain content_type=text' ,
44- surrogate_control => ' max-age=31556952, stale-if-error=2592000' ,
47+ surrogate_control =>
48+ ' max-age=31556952, stale-while-revalidate=86400, stale-if-error=2592000' ,
4549 },
4650 ' /source/DOY/Moose-0.01/MANIFEST?callback=foo' => {
4751 code => 200,
4852 cache_control => undef ,
4953 surrogate_key =>
5054 ' author=DOY content_type=text/javascript content_type=text' ,
51- surrogate_control => ' max-age=31556952, stale-if-error=2592000' ,
55+ surrogate_control =>
56+ ' max-age=31556952, stale-while-revalidate=86400, stale-if-error=2592000' ,
5257 },
5358 ' /source/Moose' => {
5459 code => 200,
0 commit comments