Fix cache-control syntax for photos
This commit is contained in:
parent
3561fd7c43
commit
3c762b8809
@ -277,8 +277,7 @@ class Photo extends \Zotlabs\Web\Controller {
|
|||||||
// in the event that infrastructure caching is present.
|
// in the event that infrastructure caching is present.
|
||||||
$smaxage = intval($maxage/12);
|
$smaxage = intval($maxage/12);
|
||||||
|
|
||||||
|
header("Cache-Control: s-maxage=" . $smaxage . ", max-age=" . $maxage . $cachecontrol);
|
||||||
header("Cache-Control: s-maxage=' .$smaxage. '; max-age=" . $maxage . $cachecontrol);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user