• Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting header for cache

 
Per Lovdinger
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Setting header for cache:
*************************
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!