Forum Moderators: open

Message Too Old, No Replies

Force Opera to check for new page versions

or any other browser for that matter

         

Cienwen

8:47 pm on Jan 13, 2006 (gmt 0)

10+ Year Member



Hello,

I have a client who uses Opera. Every time I update her homepage her browser still shows the old cached version. This does not happen with my IE or FireFox. Does anyone know some code that will tell Opera to check for updated versions? I’m looking to set things up to force the browser to check because I can’t teach everyone who looks at this site how to set their browser preferences.

Any help would be appreciated.
Cienwen

jdMorgan

9:27 pm on Jan 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You should check your server-side handling first. Did you configure your server to return proper "Expires" and "Last-Modified" headers in HTTP responses? If not, it's up to the browser to decide when to toss out its cached copy of your page and reload a fresh version. This may not happen until your page is the oldest page in its cache and it needs the space for something else.

Use the server headers checker [webmasterworld.com] to verify your cache-control headers.

Jim

whoisgregg

9:28 pm on Jan 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you have access to PHP on your server, you can use the header() [php.net] function to suggest to the browser that it not cache the page.

Edited: Removed out-of-context sentence.

Cienwen

3:26 pm on Jan 14, 2006 (gmt 0)

10+ Year Member



Thank you very much! I will try both of your suggestions.