Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # RSS feed
- ExpiresByType application/rss+xml "access plus 1 hour"
- # Favicon (cannot be renamed)
- ExpiresByType image/x-icon "access plus 1 week"
- # 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 video/ogg "access plus 1 month"
- ExpiresByType audio/ogg "access plus 1 month"
- ExpiresByType video/mp4 "access plus 1 month"
- ExpiresByType video/webm "access plus 1 month"
- # HTC files (css3pie)
- ExpiresByType text/x-component "access plus 1 month"
- # Webfonts
- ExpiresByType font/truetype "access plus 1 month"
- ExpiresByType font/opentype "access plus 1 month"
- ExpiresByType font/woff "access plus 1 month"
- ExpiresByType application/x-font-woff "access plus 1 month"
- ExpiresByType image/svg+xml "access plus 1 month"
- 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/javascript "access plus 1 year"
- <IfModule mod_headers.c>
- Header append Cache-Control "public"
- Header append Vary User-Agent
- <FilesMatch ".(js|css|xml|gz|woff)$">
- Header append Vary: Accept-Encoding
- </FilesMatch>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement