Speed up your site with .htaccess caching
Posted by Alius Designs on Dec 13, 2011 in Blog | 0 comments
One of the most useful snippets that we’ve found recently is the one below. By using some simple .htaccess file cahing, you can dramatically increase your website speed. This snippet you should always have on your toolbox!
# 1 YEAR
Header set Cache-Control "max-age=29030400, public"
# 1 WEEK
Header set Cache-Control "max-age=604800, public"
# 2 DAYS
Header set Cache-Control "max-age=172800, proxy-revalidate"
# 1 MIN
Header set Cache-Control "max-age=60, private, proxy-revalidate"
Source: http://www.askapache.com/htaccess/speed-up-sites-with-htaccess-caching.html
No related posts.




