How Do I Refresh?
I would like my web pages to "auto refresh" each time that the page is brought up. I had the script to do this some time ago, but, forgot where I put it. Can someone help me?
Also, I'm running DE4. I'd like to "store" this script somewhere so that I can recall/insert it when I need to. Any ideas?
Thanks.
Bob
Remember: If you keep doing what you're doing, you'll keep getting what you're getting!
Suzanne posted this at 18:03 — 25th October 2003.
She has: 5,507 posts
Joined: Feb 2000
First, let's examine why you want your page to refresh when it's loaded?
w5blt posted this at 18:09 — 25th October 2003.
They have: 12 posts
Joined: Oct 2003
Suzanne,
When I make edits to my web page(s), I would like the "current" version seen by any visitors. Hence, the need. Otherwise, they may be looking at old or outdated information. Right?
Bob
Bob
Remember: If you keep doing what you're doing, you'll keep getting what you're getting!
Suzanne posted this at 04:04 — 26th October 2003.
She has: 5,507 posts
Joined: Feb 2000
Not really -- unless they always have the page open, or your/their server caches the page and will not serve changes (bad bad practice, but it happens), they will usually get the new page.
Forcing a refresh should only happen if you really have right-up-to-the-minute-crucial-information and even then, people should be aware of the criticalness of it...
i.e. if you're making regular edits, don't worry about it. If you're making changes minute to minute and have heavy traffic that needs the changes and the pages are stuck in caches, then you may need to do it.
TonyMontana posted this at 23:27 — 7th November 2003.
They have: 218 posts
Joined: Apr 2001
You could try appending a large random number to the url so the browser doesn't pull up a cached version of the page.
Cheers,
TM
Greg K posted this at 22:50 — 8th November 2003.
He has: 2,145 posts
Joined: Nov 2003
I've never used it, so I'm not sure, but I think maybe this is what you were refering to:
<META HTTP-EQUIV="expires" CONTENT="Wed, 09 Aug 2000 08:21:57 GMT">
'Where setting the date to something in the past causes the page to never cache?
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.