I have a webapplication (asp.net / html, css, etc).
I’ve updated my stylesheet and deployed it on my webserver.
Now some of my users / customers are still using the old css files.
I did this already
My telephone is ringing and I have to tell my customers to use F5 to reload the page. After that the stylesheet is updated.
My webapplication is using iframes. The problem maybe within the iframes?
In Firefox (and other browsers), F5 is simple refresh while CTRL + F5 forces a cache refreh too and force reload static resources, you should tell them to do
CTRL + F5at the phone…Your problem is cache-related, if you don’t want the browsers to cache your
CSSs you can instruct them with metatags and writing to the response setting theCache-Controlattribute (take a look at this)Or you can configure it in your Web Server directly (in Apache it would be something like
Or use some ugly trick like adding timestamp to the link to CSS: http://css-tricks.com/can-we-prevent-css-caching/
BTW the cache will expires on its own somewhere in the future…