I was wondering if anybody knows of any code that I could place onto my site that would FORCE firefox to update its cache of the site its viewing?
I’ve recently changed my site around but firefox is showing the old cached version when it first loads up. I know I can hit refresh and it will change to the new one (which is does)…..But, I dont want all the users viewing my website to have to do that as it puts out a bad impression….
I’ve actually completely changed the site. New design, new content, new CSS, the lot.
But, for the some reason it still shows parts of the old site. Something I have done though is archive the old site on my FTP server into an ‘Archives’ folder, would you recommend deleting it completely? ‘Cause i didn’t think it would have caused any conflicts but it just seems to be a little.
But, for the some reason it still shows parts of the old site. Something I have done though is archive the old site on my FTP server into an ‘Archives’ folder, would you recommend deleting it completely?
Yea… some thoughts: If they ctrl+f5 does it update the images? Or is it still a problem for every browser?
If it’s a problem for every browser (after the hard refresh), the old image is still being linked to. (The link could have been updated when you moved it.)
If it is corrected after a refresh, see idea below:
If it is just the css then rename your css file to something like style1.css.
Or, an easier way to rename the file is by adding a quertystring to it:
Although the file doesn’t change at all, it looks like a new file and so is refreshed. You can do this to images too: