Skip to content

Commit

Permalink
Added white space between header values.
Browse files Browse the repository at this point in the history
  • Loading branch information
anagh-p committed Dec 22, 2016
1 parent 891e6fc commit cd59bf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Quintype/Caching.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public function buildCacheHeaders($cacheParams)
$cdnTTLs = $cacheParams['cdnTTLs'];

$commonHeaders = [
'Cache-Control' => 'public,max-age='.$browserTTLs['max-age'],
'Surrogate-Control' => 'public,max-age='.$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'],
'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 cd59bf1

Please sign in to comment.