Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_headers.c>
- Header set Connection keep-alive
- <filesmatch ".(ico|flv|gif|swf|eot|woff|otf|ttf|svg)$">
- Header set Cache-Control "max-age=2592000, public"
- </filesmatch>
- <filesmatch ".(jpg|jpeg|png)$">
- Header set Cache-Control "max-age=1209600, public"
- </filesmatch>
- # css and js should use private for proxy caching https://developers.google.com/speed/docs/best-practices/caching#LeverageProxyCaching
- <filesmatch ".(css)$">
- Header set Cache-Control "max-age=31536000, private"
- </filesmatch>
- <filesmatch ".(js)$">
- Header set Cache-Control "max-age=1209600, private"
- </filesmatch>
- <filesMatch ".(x?html?|php)$">
- Header set Cache-Control "max-age=600, private, must-revalidate"
- </filesMatch>
Add Comment
Please, Sign In to add comment