Imagine that you made some intensive changes to your CSS or JS file, tested it in your browser by hard-refreshing the pages (because you know that your CSS and JS are being cached by the browser), everything looked good, so you uploaded it to your production server. Now, how many end-users know how to hard-refresh the page if something doesn’t look right? You know it – very few. In this short manual I will explain one trick that will save you time trying to explain to your customer that he/she has to “hard-refresh the page to update cached CSS file. Please press CTRL+F5 :)”.
Please note that your CSS/JS files will still be cached (your browser will not request them every time you load the site), however if your local cached version will not match the one currently on the server, it will request it from the server and will replace the local cached version with the most recent one.