Hi, I`m trying to add cache headers on my static files (.css, .js), but only way I found is with some .htaccess stuff that make the page to throw 500 error. So my question is whether there is easier way to add those headers? Thanks in advance.
A:
Check out this short post that explains exactly how to do it. I have it bookmarked and always refer to it when do starting with caching.
EDIT: Forgot the link, I'm an idiot! Here it is ;) http://maintainable.com/articles/rails_asset_cache
FailBoy
2010-05-20 09:14:52
Which short post?
ANeves
2010-05-20 09:19:23
sorry about that, link added to answer
FailBoy
2010-05-20 11:05:27