PDA

View Full Version : When I make changes to a page, sometimes people see the old page... is there a way to



DyaDriMark
01-24-2007, 04:23 PM
Hello,

Sometimes when I make changes to a web page, a number of people can not see the changes (their system's cache?)... so I was wondering if there was some small bit of code (javascript?) that I could put into the HTML so that it would automatically update for everyone when there have been changes made?

If so, are there any downsides to having this code there?

Thank You!

djr33
01-24-2007, 05:58 PM
I *think* I remember something like this with a header that can be sent from PHP specifying "do not cache" or something like that.

mburt
01-24-2007, 06:55 PM
I simply say on my updates page something like,
"Please clear your cache, the site has some new images"
There's no scripts that I know of that can do this. Hopefully someone else will :)