mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Cache experiment - admin area only.
This commit is contained in:
@@ -405,7 +405,7 @@ if (isset($_SERVER['HTTP_IF_NONE_MATCH']))
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
header("Cache-Control: must-revalidate"); // XXX testing 'always on' state for now.
|
header("Cache-Control: max-age=5,no-cache",true); // XXX testing 'always on' state for now.
|
||||||
if(!defined('e_NOCACHE'))
|
if(!defined('e_NOCACHE'))
|
||||||
{
|
{
|
||||||
// header("Cache-Control: must-revalidate");
|
// header("Cache-Control: must-revalidate");
|
||||||
|
Reference in New Issue
Block a user