latin: common tool to dump static perl include
[sheet.git] / .htaccess
index aaebe0cbeb1becbaba529a7c65ad112944b87102..41f82b4e38e68cc370d93bcf2d11fa298e4b3d35 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -19,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>