PerLovdinger
Programmer
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
**********************************
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