cvs: phpweb / index.php
| From: | Sascha Schumann | Date: | Fri, 21 Sep 2001 17:17:43 +0000 |
| Subject: | cvs: phpweb / index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-6532@lists.php.net to get a copy of this message | ||
sas Fri Sep 21 13:17:43 2001 EDT
Modified files:
/phpweb index.php
Log:
cache the index page for up to ten minutes
Index: phpweb/index.php
diff -u phpweb/index.php:1.142 phpweb/index.php:1.143
--- phpweb/index.php:1.142 Thu Sep 20 14:38:27 2001
+++ phpweb/index.php Fri Sep 21 13:17:42 2001
@@ -2,6 +2,8 @@
/* if you're reading this, it isn't because you've found a security hole.
this is an open source website. read and learn! */
+header("Cache-Control: public, max-age=600");
+
require_once 'prepend.inc';
$SIDEBAR_DATA = '