Permalink
Browse files

Initial Revision

  • Loading branch information...
1 parent 31f2510 commit cde0455c327f7d8402058a28aee4676aa95b30f2 @mcurry mcurry committed Oct 18, 2008
Showing with 21 additions and 0 deletions.
  1. +21 −0 asset.htaccess
View
@@ -0,0 +1,21 @@
+<IfModule mod_deflate.c>
+ # compress content with type html, text, and css
+ AddOutputFilterByType DEFLATE text/css text/javascript application/x-javascript text/js
+ <IfModule mod_headers.c>
+ # properly handle requests coming from behind proxies
+ Header append Vary User-Agent
+ </IfModule>
+</IfModule>
+
+<IfModule mod_expires.c>
+ ExpiresActive On
+ ExpiresByType text/css "access plus 10 years"
+ ExpiresByType text/js "access plus 10 years"
+ ExpiresByType text/javascript "access plus 10 years"
+ ExpiresByType application/x-javascript "access plus 10 years"
+ ExpiresByType image/png "access plus 10 years"
+ ExpiresByType image/gif "access plus 10 years"
+ ExpiresByType image/jpeg "access plus 10 years"
+</IfModule>
+
+FileETag none

0 comments on commit cde0455

Please sign in to comment.