Comment78![]() |
Charles Johnson5/03/2012 5:57:35 pm PDT |
Today I found an awesome solution for a programming problem that will save me a lot of time in development. Basically, it lets me completely eliminate one time-consuming step when I update a Javascript or CSS file — which is very often!
This uses an Apache mod_rewrite trick, combined with some PHP, to automatically force browsers to reload cached JS and CSS files when they’re changed. It’s one of those solutions that once you find, it seems so obvious.