Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65615 - website/public_html/beta
From: dnljms_at_[hidden]
Date: 2010-09-26 18:15:38


Author: danieljames
Date: 2010-09-26 18:15:37 EDT (Sun, 26 Sep 2010)
New Revision: 65615
URL: http://svn.boost.org/trac/boost/changeset/65615

Log:
Another attempt at fixing cache headers.
Text files modified:
   website/public_html/beta/.htaccess | 11 ++++++-----
   1 files changed, 6 insertions(+), 5 deletions(-)

Modified: website/public_html/beta/.htaccess
==============================================================================
--- website/public_html/beta/.htaccess (original)
+++ website/public_html/beta/.htaccess 2010-09-26 18:15:37 EDT (Sun, 26 Sep 2010)
@@ -1,3 +1,9 @@
+# Override cache headers for files which get updated by site build script.
+<FilesMatch "^index\.(html|php)$|^users/(history|download|news)/(index.html)?$">
+Header unset Cache-Control
+Header unset Expires
+</FilesMatch>
+
 AddType text/html .shtml
 AddOutputFilter INCLUDES .shtml
 AddOutputFilter INCLUDES .html
@@ -6,11 +12,6 @@
 
 DirectoryIndex index.php index.shtml index.html
 
-<IfModule mod_expires.c>
- ExpiresActive On
- ExpiresByType text/html A3600
-</IfModule>
-
 RewriteEngine On
 RewriteBase /
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk