HighTechTalks DotNet Forums  

cache-control: private

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss cache-control: private in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Water Cooler v2
 
Posts: n/a

Default cache-control: private - 01-05-2006 , 03:19 PM






What does it mean to have this in the control header?

Cache-control: private


Does it mean that the cache is disabled?


Reply With Quote
  #2  
Old   
Joerg Jooss
 
Posts: n/a

Default Re: cache-control: private - 01-05-2006 , 05:47 PM






Hello Water,

Quote:
What does it mean to have this in the control header?

Cache-control: private

Does it mean that the cache is disabled?
Yes and no.

According to RFC 2616 (http://www.w3.org/Protocols/rfc2616/...html#sec14.9):
Indicates that all or part of the response message is intended for a single
user and MUST NOT be cached by a shared cache. This allows an origin server
to state that the specified parts of the response are intended for only one
user and are not a valid response for requests by other users. A private
(non-shared) cache MAY cache the response.

Cheers,
--
Joerg Jooss
news-reply (AT) joergjooss (DOT) de




Reply With Quote
  #3  
Old   
Scott M.
 
Posts: n/a

Default Re: cache-control: private - 01-07-2006 , 03:08 PM




"Water Cooler v2" <wtr_clr (AT) yahoo (DOT) com> wrote

Quote:
What does it mean to have this in the control header?

Cache-control: private


Does it mean that the cache is disabled?

Cache-control: private means that the content should not be cached by proxy
servers that help deliver the response.
Cache-control: public means that the content *can* (but not necessarially
will) be cached by proxy servers that help deliver the response.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.