Revert N°3423 - Allow AttributeImage / AttributeDocument content to be cached by the browser + N°4029 - Caching images in chrome does not work

This commit is contained in:
acognet
2021-08-06 09:51:59 +02:00
parent 0214243b63
commit 1e97b5a8c0
3 changed files with 1 additions and 15 deletions

View File

@@ -1079,7 +1079,7 @@ class ObjectController extends BrickController
if ($iCacheSec > 0)
{
$aHeaders['Expires'] = '';
$aHeaders['Cache-Control'] = 'no-tranjsform, public,max-age='.$iCacheSec.',s-maxage='.$iCacheSec;
$aHeaders['Cache-Control'] = 'no-transform, public,max-age='.$iCacheSec.',s-maxage='.$iCacheSec;
// Reset the value set previously
$aHeaders['Pragma'] = 'cache';