Skip to content
Browse files

cache media for a year and json for 10 minutes

  • Loading branch information...
1 parent e356772 commit cf7d0ea610e4fb2b50ac0eaf78f2d010197494e1 Jeff Balogh committed Mar 11, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 .htaccess
View
8 .htaccess
@@ -0,0 +1,8 @@
+<FilesMatch "\.(css|gif|ico|jpe?g|js|png|svg)$">
+ ExpiresActive On
+ ExpiresDefault "access plus 1 year"
+</FilesMatch>
+<FilesMatch "\.json$">
+ ExpiresActive On
+ ExpiresDefault "access plus 10 minutes"
+</FilesMatch>

0 comments on commit cf7d0ea

Please sign in to comment.
Something went wrong with that request. Please try again.