Permalink
Browse files

Adjust cache expirations for CSS and JS based on assumption that we w…

…on't be using versioned filenames. [nm]
  • Loading branch information...
1 parent 99c0427 commit c9723eaddcf2eb46f5c49624e3ffe31b238b26ca @kcmckell committed May 13, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 .htaccess
View
10 .htaccess
@@ -242,13 +242,13 @@ AddType application/x-shockwave-flash swf
ExpiresByType application/atom+xml "access plus 1 hour"
# Favicon (cannot be renamed)
- ExpiresByType image/x-icon "access plus 1 week"
+ ExpiresByType image/x-icon "access plus 1 month"
# Media: images, video, audio
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
- ExpiresByType image/jpg "access plus 1 month"
- ExpiresByType image/jpeg "access plus 1 month"
+ ExpiresByType image/jpg "access plus 1 year"
+ ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType video/ogg "access plus 1 month"
ExpiresByType audio/ogg "access plus 1 month"
ExpiresByType video/mp4 "access plus 1 month"
@@ -265,8 +265,8 @@ AddType application/x-shockwave-flash swf
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
# CSS and JavaScript
- ExpiresByType text/css "access plus 1 year"
- ExpiresByType application/javascript "access plus 1 year"
+ ExpiresByType text/css "access plus 1 week"
+ ExpiresByType application/javascript "access plus 1 week"
</IfModule>

0 comments on commit c9723ea

Please sign in to comment.