diff --git a/app/webroot/css.php b/app/webroot/css.php index 7d2b345e0..52b57fee7 100644 --- a/app/webroot/css.php +++ b/app/webroot/css.php @@ -96,7 +96,7 @@ if (!class_exists('File')) { header("Date: " . date("D, j M Y G:i:s ", $templateModified) . 'GMT'); header("Content-Type: text/css"); header("Expires: " . gmdate("D, j M Y H:i:s", time() + DAY) . " GMT"); - header("Cache-Control: cache"); // HTTP/1.1 + header("Cache-Control: max-age=86400, must-revalidate"); // HTTP/1.1 header("Pragma: cache"); // HTTP/1.0 print $output; ?> \ No newline at end of file diff --git a/cake/console/libs/templates/skel/webroot/css.php b/cake/console/libs/templates/skel/webroot/css.php index 7d2b345e0..52b57fee7 100644 --- a/cake/console/libs/templates/skel/webroot/css.php +++ b/cake/console/libs/templates/skel/webroot/css.php @@ -96,7 +96,7 @@ if (!class_exists('File')) { header("Date: " . date("D, j M Y G:i:s ", $templateModified) . 'GMT'); header("Content-Type: text/css"); header("Expires: " . gmdate("D, j M Y H:i:s", time() + DAY) . " GMT"); - header("Cache-Control: cache"); // HTTP/1.1 + header("Cache-Control: max-age=86400, must-revalidate"); // HTTP/1.1 header("Pragma: cache"); // HTTP/1.0 print $output; ?> \ No newline at end of file