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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cache Control

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,

How do you expire a page? I don't want a page to be cached, be it in the proxy or on the client. When a request is made it should get the latest copy from the server. Info that I had gathered from the web says to use headers and set the cache-control, expires properties. It didn't seem to work.

Is this a bug? Anybody with ideas please help. (it need work with IE only)





 
Every file you view "on the internet" has already been downloaded to your harddrive. Each graphic,html file etc.. is sitting in your c:\windows\temporary internet files\ folder. You can set this cache to be destroyed each time you close Internet Explorer. go Tools->Internet Options->Genereal->Temporary Internet Files->Settings. click the tab that says, "Check for newer versions of the page->Every visit to the page" This will make sure that the browser does not use caching. This will result in slower browsing speed on a modem. If you are on a DSL or T1 line this should not be a problem. if you are connecting through a cacheing proxy, you will have to change the settings to the proxy as well.

good luck


ackka
ackka@mad.scientist.com
 
I seem to have the same problem as 'julia' has.... Also, the solution given works fine....But how do i change this setting "Look etch For newer versions of the page - Everytime u visit a page " thro' an ASP page ? I have a website which is going thro' same problem. It displays the data from the Cache rather then from the Server thus resulting is showing wrong data. Data was just changed by the same user and again viewed the edited page which diplayed the original data and not the edited one.....so anyway i could try telling the browser PROGRAMATICALLY (thro' an ASP code) to go to server to fetch new page even if it is there in cache.. ?

regards,

Jayesh
 
Not sure what you want but FWIW Ctrl+F5 key reloads page. smitee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top