On my product site, Firefox sometimes “doesnt detect” changes in my CSS & Javascript code. Rather it loads the old versions, so it seems that I need to clear the cache. In a situation like this, what should I do? This relates to the latest Firefox (16.0.1 at the time of this writing.)
EDIT!
I forgot to say it mistakes for the localhost css files. I meant, theres an old js file, I update it, upload it, and on product server firefox thinks its the localhost file.
The way I include files:
<link rel="stylesheet" href="/xyz.css" type="text/css" />
If you are using a server-side language you could use a trick.
You can append a string after .css/.js. In PHP for example:
It changes every page reload.
Take a look at this article about cache busting.