Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

refresh not refreshing

Status
Not open for further replies.

derwent

Programmer
May 5, 2004
428
GB
I realise this may be more suited to a browser forum but the users of this forum press f5 100x more than anyone else!!

I make an update to a page, press f5 (or even control + F5 to force one) to view the change on the screen. After a few hours refresh stops working, even control refresh.

I have to restart my machine to be able to view the updated page.

Wierd thing is, it's not just IE, when refresh stops working in IE I can try FF or Opera and both display the old page!! The only thing I can do is to rename the page (default2.asp for example) to see the change, but if I change default2 I can`t refresh this.

Has anyone else had this? I have all brosers set to 'check for newer version' to every visit, wiped my cache and even made the cache size bigger but when it happens the only thing to rectify it for a few hours is to restart.

grrrrrrrrrrrr
 
It'll be a caching issue at the server or on the browser... from what you say it sounds more likely it's the server. I'm assuming you are not sitting between a caching server *lol*.

So... a suggestion for you...

Append ?somelongrandomnumber to the end of the page you want to visit. This technique is often called "cache busting" and was popular last century with Netscape local caching.

Code:
[URL unfurl="true"]http://www.mysite.com/mydevpage.asp?blahblahblah123[/URL]

Hope that's of some value to you.

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
 
I am behind a proxy server but I have to my browsers to ignore proxy for localhost.

thanks Jeff, will use your technique for now but it's still a pain in the bum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top