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!

Setting header for cache

Status
Not open for further replies.

PerLovdinger

Programmer
Oct 25, 2001
5
IE
Setting header for cache questions:
**********************************
1: setHeader("Cache_Control","no-cache")
----------------------------------------
If I have set the header to response.setHeader("Cache_Control","no-cache") for Page1.htm

What does it mean ? When using explorer ,should this prevent the page from being placed in history ?
If the user after page1.htm goes to page2.htm should not the page1.htm be unavailable ?

2: Can a header be set to more then one value ?
-----------------------------------------------
Is this header valid ?
response.setHeader("Cache_Control","max-age=3600, must-revalidate");

3: cached for 10 minutes and then expiry
----------------------------------------
If I want a page to be cached for 10 minutes and then expiry, what's the correct way of doing that
in http 1.1 ? What should the headers look like ?


thanks in advance
Per



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top