CSS Hack: Detect an updated CSS (or JS or image files) and override cached version Discussion of original solution is here: https://stackoverflow.com/questions/118884/how-to-force-the-browser-to-reload-cached-css-js-files The rewrite rule in htaccess: RewriteEngine on RewriteRule ^(.*)\.[\d]{10}\.(css|js)$ $1.$2 [L] The PHP function: /** * Given a file, i.e.
Keep calm and clear cache i find this one a nice piece of instruction… 😀 ———————– Worried that something is wrong with your web page? Continue Reading →