Archive of UserLand's first discussion group, started October 5, 1998.

Defeating the browser's cache

Author:Dave Winer
Posted:2/16/1999; 5:42:22 AM
Topic:Defeating the browser's cache
Msg #:2917
Prev/Next:2916 / 2918

I have a script that opens a web page in my browser, using webBrowser.openUrl, but how can I force it to refresh the page from the server?

You can't! There's no wire that connects up to the Refresh/Reload button.

But if you put this in the section of the page, it will refresh every time you go there:

It works. It solved a big problem I had with editing the home page in the web browser. When a script opens the editing page sometimes it would show me an old version of the page. When I click on Post Message, items are deleted! Ooooops.

Thanks to Tommy Sundstrom for posting this howto on the Script Meridian community list. It's a life-saver.


There are responses to this message:


This page was archived on 6/13/2001; 4:47:54 PM.

© Copyright 1998-2001 UserLand Software, Inc.