4 ms·
If anyone is still not seeing them, do a hard refresh (Ctrl+F5).
by OseOse 13y ago
If anyone is still not seeing them, do a hard refresh (Ctrl+F5).
- josephagoss 13y agoCtrl+F5 is amazing, how have I been developing websites without knowing this?
- shabble 13y agoIn Chrome at least, having the devtools panel open[0] disables {all,most,some,infuriatingly inconsistent} parts of the cache system, so every refresh is a 'hard refresh'[1]. [0] Might be an option in the dev-tools settings, but I think it's enabled by default. [1] Except when it's not, of course.
- josephagoss 13y agoThis is true, and I always have that option checked. But if I am on a site that seems to be loading the old cached stuff during my regular browsing of the internet (not building stuff) I always open dev tools and refresh to do a "hard" refresh. But learning that CTRL-F5 does the same thing is really neat, and I feel very silly at the same time!
- thejosh 13y agoYou should also do CSS versioning if you are pushing to a live website, like main.css?v=2 or something so that users (well, mainly nitpicky clients) will always see the latest.
- Shivetya 13y agocommand - R for Firefox on OS X
- smcl 13y agocommand - shift - R on Chrome\OS X
- alphakappa 13y agoShift + Cmd + R (on Chrome,OSX)