mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 12:38:44 +02:00
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:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user