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.
I`m trying to add cache headers on my static files (.css, .js), but only
Share
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.
http://derekdevries.com/2007/12/13/rails-asset-cache/