aboutsummaryrefslogtreecommitdiff
path: root/_css/css.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-15 18:45:35 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-15 18:45:35 +0000
commitfb7ac1b3766c38a7159c9a245d364eb8fb46cd7f (patch)
treedef0e1cee89f135c88943c77a237c8c37a0007a2 /_css/css.php
parent7073c7c2d71202d6f5e6f542d1ace7d8eb93bd09 (diff)
downloadelgg-fb7ac1b3766c38a7159c9a245d364eb8fb46cd7f.tar.gz
elgg-fb7ac1b3766c38a7159c9a245d364eb8fb46cd7f.tar.bz2
Caching enhancements
git-svn-id: https://code.elgg.org/elgg/trunk@1949 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to '_css/css.php')
-rw-r--r--_css/css.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/_css/css.php b/_css/css.php
index 33a5305ed..30b179d16 100644
--- a/_css/css.php
+++ b/_css/css.php
@@ -12,6 +12,9 @@
*/
header("Content-type: text/css");
+ header('Expires: ' . date('r',time() + 864000));
+ header("Pragma: public");
+ header("Cache-Control: public");
require_once(dirname(dirname(__FILE__)) . "/engine/start.php");