Skip to content

Commit

Permalink
Merge pull request #2 from quintype/cloudflare-fixes
Browse files Browse the repository at this point in the history
Typo fix
  • Loading branch information
gja authored Aug 29, 2018
2 parents 843f227 + 542615d commit e927d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Quintype/Caching.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function buildCacheHeaders($cacheParams)
$cdnTTLs = $cacheParams['cdnTTLs'];

$commonHeaders = [
'Cache-Control' => 'public,max-age='.$browserTTLs['max-age'].'s-maxage='.$cdnTTLs['max-age'].',stale-while-revalidate='.$cdnTTLs['stale-while-revalidate'].',stale-if-error='.$cdnTTLs['stale-if-error'],
'Cache-Control' => 'public,max-age='.$browserTTLs['max-age'].',s-maxage='.$cdnTTLs['max-age'].',stale-while-revalidate='.$cdnTTLs['stale-while-revalidate'].',stale-if-error='.$cdnTTLs['stale-if-error'],
'Surrogate-Control' => 'public, max-age='.$cdnTTLs['max-age'].', stale-while-revalidate='.$cdnTTLs['stale-while-revalidate'].', stale-if-error='.$cdnTTLs['stale-if-error'],
'Vary' => 'Accept-Encoding',
];
Expand Down

0 comments on commit e927d6f

Please sign in to comment.