latin: common tool to dump static perl include
[sheet.git] / .htaccess
index b891dff3be529a33a0372011398d1eff2c5e0045..41f82b4e38e68cc370d93bcf2d11fa298e4b3d35 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,6 +1,5 @@
 Options        -MultiViews
 DirectoryIndex index.plp
-Action         plp-document    /PLP_COMMON/plp.cgi
 
 RewriteEngine  on
 RewriteBase    /
@@ -20,8 +19,10 @@ RewriteRule    ^(digraphs)\.ex(/.*)?$ $1.vim$2
 RewriteCond    %{REQUEST_FILENAME}.plp  -f
 RewriteRule    ^/*([^/]+)(.*)           $1.plp$2
 
-# compress html output if accepted by client
-<IfModule deflate_module>
-AddOutputFilterByType DEFLATE text/html
+# allow browsers to cache for upto a month
+<IfModule headers_module>
+<FilesMatch "\.(?:css|js)$">
+Header set Cache-Control "max-age=2592000"
+</FilesMatch>
 </IfModule>