Re: 70-305 question
From: valko yotov (valko_at_nms-admin.ch)
Date: 08/30/04
- Next message: Eric: "Re: MCSD questions"
- Previous message: Hermit Dave: "Re: vb.net"
- In reply to: Daniel Joskovski: "Re: 70-305 question"
- Next in thread: Daniel Joskovski: "Re: 70-305 question"
- Reply: Daniel Joskovski: "Re: 70-305 question"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 30 Aug 2004 15:44:07 +0200
Hi Daniel,
thank you for your answer, but according to mentioned MSDN link:
Public Sets Cache-Control: public to specify that the response is
cacheable by clients and shared (proxy) caches.
which id equivalent to "Downstream" not to "Any" - we are talking here not
for version differences 1 to 1.1, but instead for different presentation on
same stuff:
1. You use OutputCache Location page directive declaratively
2. Or you use Response.Cache HttpCachePolicy's SetCacheability during
runtime
which still leaves me not answered what is "Any" = Response.Cache
HttpCachePolicy's SetCacheability?
because according to books I read "Any" means absolutly all - client, proxy
AND host server - I do not see host server option in MSDN article for
HttpCacheability?
cheers
Valko
"Daniel Joskovski" <omnis@NOSPAMunetREMOVECAPS.com.mk> wrote in message
news:el6A9dijEHA.2616@TK2MSFTNGP10.phx.gbl...
> See answers in line
>
> Regards,
> Daniel
>
> "valko" <valko@yotov.biz> wrote in message
> news:#zYPw#fjEHA.2140@TK2MSFTNGP15.phx.gbl...
> > Hi guys,
> >
> > In Microsoft's Training Kit MCAD/MCSD "Developing Web Applications"
p.641
> we
> > see:
> >
> > OutputCache's Location attribute "Any" is equivalent to
HttpCachePolicy's
> > SetCacheability member "HttpCacheability.Server"
> >
> Not correct default is Private
>
> > and it is Default for asp.net
> >
> > but in MSDN
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebhttpcacheabilityclasstopic.asp
> > for member "HttpCacheability.Server" we see:
> >
> > Server Specifies that the response is cached only at the origin
> > server. Similar to the NoCache option. Clients receive a Cache-Control:
> > no-cache directive but the document is cached on the origin server.
> >
>
> Correct
> >
> > and also for Default we see:Private Default value. Sets Cache-Control:
> > private to specify that the response is cacheable only on the client and
> not
> > by shared (proxy server) caches.
> >
> >
>
> Correct
> And can't be equal to Any
>
> > and in some exam tests I have I see that "Any" =
> ""HttpCacheability.Public"
> > ?!?
> >
>
> Correct
> Framework 1.0 has only 4 enumerations, which is compatible with HTTP 1.1
> No cache, Private, Public and Server
> When you have 4 choices instead of 6 is easier to deduce that "Any" =
> ""HttpCacheability.Public"
>
> > I will go to exam in Wednesday and will highly appreciate any
suggestions
> > and help :-))
> >
> > thank you
> >
> > cheers
> > Valko
> >
> >
>
>
- Next message: Eric: "Re: MCSD questions"
- Previous message: Hermit Dave: "Re: vb.net"
- In reply to: Daniel Joskovski: "Re: 70-305 question"
- Next in thread: Daniel Joskovski: "Re: 70-305 question"
- Reply: Daniel Joskovski: "Re: 70-305 question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|