Fixes the expiration for javascript files (etch and lenny have different mimes.types...
authorVincent Zanotti <vincent.zanotti@m4x.org>
Sat, 5 Jun 2010 17:51:12 +0000 (19:51 +0200)
committerVincent Zanotti <vincent.zanotti@m4x.org>
Sat, 5 Jun 2010 17:52:31 +0000 (19:52 +0200)
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
htdocs/.htaccess.in

index d404569..af51870 100644 (file)
@@ -10,6 +10,7 @@ RewriteRule ^(.*)$ ?n=$1 [L,QSA]
 # Caches the immutable resources for seven days. Generated files (images and JS
 # served by PHP) are not affected.
 ExpiresActive On
+ExpiresByType application/javascript "access plus 7 days"
 ExpiresByType application/x-javascript "access plus 7 days"
 ExpiresByType image/gif "access plus 7 days"
 ExpiresByType image/jpeg "access plus 7 days"