summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhtdocs/docs/install.html10
-rw-r--r--httpd/conf/httpd.conf16
2 files changed, 14 insertions, 12 deletions
diff --git a/htdocs/docs/install.html b/htdocs/docs/install.html
index 808c74e..4f58572 100755
--- a/htdocs/docs/install.html
+++ b/htdocs/docs/install.html
@@ -1,5 +1,5 @@
-<!--#set var="revision" value="\$Id: install.html,v 1.24 2007-07-24 06:56:45 ot Exp $"
---><!--#set var="date" value="\$Date: 2007-07-24 06:56:45 $"
+<!--#set var="revision" value="\$Id: install.html,v 1.25 2007-07-24 07:00:10 ot Exp $"
+--><!--#set var="date" value="\$Date: 2007-07-24 07:00:10 $"
--><!--#set var="title" value="Installation Documentation for The W3C Markup Validation Service"
--><!--#set var="relroot" value="../"
--><!--#include virtual="../header.html" -->
@@ -94,7 +94,7 @@
title="Comprehensive Perl Archive Network">CPAN</acronym></a>
(minimum versions in parenthesis after the name). The following
list was complete when CVS spit out:
- <code>$Date: 2007-07-24 06:56:45 $</code>. <tt>:-)</tt>
+ <code>$Date: 2007-07-24 07:00:10 $</code>. <tt>:-)</tt>
</p>
<p>
One easy - and strongly recommended - way to take care of all these
@@ -281,8 +281,8 @@
if you plan on using another server.</p>
<ol>
<li>
- <p>If you are using the apache server, we strongly recommend using the validator under mod_perl2.</p>
- <p>This should happen automatically if your apache server has mod_perl2 installed and enabled, and it will bring important performance benefits.</p>
+ <p>If you are using the apache server, we strongly recommend using the validator under mod_perl2.This should happen automatically if your apache server has mod_perl2 installed and enabled, and it will bring important performance benefits.</p>
+ <p>Also worth enabling within apache is mod_expires, which will allow caching of the validator's static documents, stylesheets, and images.</p>
</li>
<li>
<p>
diff --git a/httpd/conf/httpd.conf b/httpd/conf/httpd.conf
index bb2ec3a..1301e55 100644
--- a/httpd/conf/httpd.conf
+++ b/httpd/conf/httpd.conf
@@ -50,13 +50,15 @@ Alias /w3c-validator/ /usr/local/validator/htdocs/
</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