[mapserver-commits] r8305 - trunk/docs/redirection

svn at osgeo.org svn at osgeo.org
Sun Dec 28 20:17:51 EST 2008


Author: hobu
Date: 2008-12-28 20:17:51 -0500 (Sun, 28 Dec 2008)
New Revision: 8305

Modified:
   trunk/docs/redirection/mapserver-redirect.conf
Log:
add expires and deflate for html and javascript

Modified: trunk/docs/redirection/mapserver-redirect.conf
===================================================================
--- trunk/docs/redirection/mapserver-redirect.conf	2008-12-29 01:01:10 UTC (rev 8304)
+++ trunk/docs/redirection/mapserver-redirect.conf	2008-12-29 01:17:51 UTC (rev 8305)
@@ -64,3 +64,12 @@
 
 RewriteRule ^download/current http://mapserver.osgeo.org/download.html [R=301,L]
 RewriteRule ^download/current/windows http://mapserver.osgeo.org/download#id3 [R=301,L]
+
+# mod_expires stuff
+ExpiresByType image/* "modification plus 12 hours"
+ExpiresByType application/javascript "modification plus 12 hours"
+ExpiresByType text/html "modification plus 3 hours"
+
+# deflate html and javascript
+AddOutputFilterByType DEFLATE text/html
+AddOutputFilterByType DEFLATE application/javascript



More information about the mapserver-commits mailing list