Click to See Complete Forum and Search --> : [RESOLVED] Forcing a refresh AFTER a page has been cached


pdmmidd
03-30-2006, 08:45 AM
Does anyone know any tricks to force a page to refresh AFTER it has been cached by the browser?

My web page has been live for a month. It features dynamic content that changes daily. I have only just applied the "no-cache" meta tags to force all future visits to retrieve the new content.

However, how do I force previous visitors who are viewing a cached page, to go out and retrieve the new file (with the new meta tags) ???

Any ideas?

Kravvitz
03-30-2006, 09:24 AM
You would need to use HTTP Response headers.
http://www.simtec.ltd.uk/httpgallery/caching/

pdmmidd
03-30-2006, 09:30 AM
Thanks for the detail. This will resolve the issue for future visitors to the page. Is there anything I can do about previous visitors who have already cached the page without this header info?

Kravvitz
03-31-2006, 12:35 PM
No, the server needs to use the HTTP Headers to tell the user's browser that it needs to download a new copy of the page (file). That's how HTTP works. I doubt there is another way to do it.