X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=conf%2Fapache.conf.sed.in;fp=conf%2Fapache.conf.sed.in;h=10e2521e23acfc8bea994f52afc45126e3baaa69;hb=ad2da3295e7442dd59932ec9f3f45a9650869483;hp=c79e41ec4fc000b7bdcda1b71c43b3eaa94a0a7f;hpb=82bda389256e0a447fdd2e1689b2388a6082c426;p=deb%2Fpackages.git diff --git a/conf/apache.conf.sed.in b/conf/apache.conf.sed.in index c79e41e..10e2521 100644 --- a/conf/apache.conf.sed.in +++ b/conf/apache.conf.sed.in @@ -9,8 +9,9 @@ # Nice caching.. ExpiresActive On ExpiresDefault "access plus 1 day" - ExpiresByType image/gif "access plus 1 week" - ExpiresByType image/jpeg "access plus 1 week" + ExpiresByType image/gif "modification plus 1 year" + ExpiresByType image/jpeg "modification plus 1 year" + ExpiresByType image/png "modification plus 1 year" # language stuff # you need to keep this in sync with lib/Packages/I18N/Locale.pm @@ -110,6 +111,7 @@ RewriteRule ^/ubuntu/ - [L] RewriteRule ^/[^/]+\.css - [L] RewriteRule ^/[^/]+\.js - [L] + RewriteRule ^/favicon.ico$ - [L] # RewriteRule ^/$ http://www.debian.org/distrib/packages RewriteRule ^/$ /index.html [L]