W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2007

validator/httpd/conf httpd.conf,1.34,1.35

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 24 Jul 2007 07:00:12 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IDENQ-0003Cu-1r@lionel-hutz.w3.org>

Update of /sources/public/validator/httpd/conf
In directory hutz:/tmp/cvs-serv12243/httpd/conf

Modified Files:
	httpd.conf 
Log Message:
mod_expires brings better results that mod_headers

Index: httpd.conf
===================================================================
RCS file: /sources/public/validator/httpd/conf/httpd.conf,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- httpd.conf	24 Jul 2007 06:56:44 -0000	1.34
+++ httpd.conf	24 Jul 2007 07:00:09 -0000	1.35
@@ -50,13 +50,15 @@
 
 </Directory>
 
-<IfModule mod_headers.c>
-<Directory /usr/local/validator/htdocs/>
-  Header set            Cache-Control "max-age=86400"
-</Directory>
-<Directory /usr/local/validator/htdocs/images/>
-  Header set            Cache-Control "max-age=604800"
-</Directory>
+<IfModule mod_expires.c>
+   ExpiresActive On
+   ExpiresByType image/gif A2592000
+   ExpiresByType image/jpg A2592000
+   ExpiresByType image/png A2592000
+   ExpiresByType text/html A604800
+   ExpiresByType text/css A2592000
+   ExpiresByType text/javascript A2592000
+   ExpiresByType application/x-javascript A2592000
 </IfModule>
 
 # atom news feed
Received on Tuesday, 24 July 2007 07:00:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:58 GMT