cvs: phpweb /user css.php
| From: | Sascha Schumann | Date: | Tue, 13 May 2003 17:14:07 +0000 |
| Subject: | cvs: phpweb /user css.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-17554@lists.php.net to get a copy of this message | ||
sas Tue May 13 13:14:07 2003 EDT
Modified files:
/phpweb/user css.php
Log:
Don't make clients access our site for each page hit
Index: phpweb/user/css.php
diff -u phpweb/user/css.php:1.3 phpweb/user/css.php:1.4
--- phpweb/user/css.php:1.3 Fri May 9 15:14:55 2003
+++ phpweb/user/css.php Tue May 13 13:14:07 2003
@@ -1,10 +1,11 @@
<?php
-/* $Id: css.php,v 1.3 2003/05/09 19:14:55 goba Exp $ */
+/* $Id: css.php,v 1.4 2003/05/13 17:14:07 sas Exp $ */
include_once "prepend.inc";
-// The output of this page should not be cached
-header_nocache();
+// The output of this page should not be cached by public proxies
+header("Cache-Control: private, max-age=86400, min-age=43200");
+header("Pragma: no-cache");
// Proper content-type header
header("Content-type: text/css");