I asked a question about improving CSS load times and one answer suggested setting expire headers on my web page. Can someone explain how I can do this. I’ve never heard about it before.
I asked a question about improving CSS load times and one answer suggested setting
Share
This is an apache trick you can do by creating a file called ‘.htaccess’ and placing it in the root of your domain via FTP.
Paste that in your .htaccess file and it will set the header f r css files. Add more filetypes, (css|js)
or cache-control for non-apache users:
In fact, use all of the tricks your server supports in this article, your site will be noticeably faster:
http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/