r7434 fix

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7438 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2010-05-11 10:20:27 +00:00
parent 96c71e8c9e
commit fe09e55c51
12 changed files with 187 additions and 44 deletions

View file

@ -51,6 +51,7 @@ if($type == '.css'){
header("Content-Type: ".$content_type."; charset=UTF-8");
/*
// return 304
if (!empty($_SERVER['HTTP_IF_MODIFIED_SINCE'])) {
$modifiedSince = strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']);
@ -60,7 +61,7 @@ if (!empty($_SERVER['HTTP_IF_MODIFIED_SINCE'])) {
exit;
}
}
*/
header("Cache-Control: private, max-age=2592000");
header("Pragma: cache");
header("Connection: close");