Re: 70-305 question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: valko yotov (valko_at_nms-admin.ch)
Date: 08/30/04


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
> >
> >
>
>



Relevant Pages

  • Re: Enabling "DCOM Callback"
    ... I might take a look at the MSDN sample at some point. ... server object class is not creatable on the client. ... Default Authentication Level: Connect ...
    (microsoft.public.win32.programmer.ole)
  • Re: Cannot access live web
    ... I tried to access the live web several times. ... [client 24.159.36.239] ... Kinda sounds like webhost B's extensions are wrong or hosed by ftping. ... | I have never been able to access the web on the host server -- accessing ...
    (microsoft.public.frontpage.client)
  • Form filling PDF template
    ... receive a non-editable PDF document, by email and/or in the browser, ... I have found numerous libraries like PDFkit etc that might well do ... I'm not sure if I can install the library onto my host server ... If the client does not currently have Acrobat reader installed ...
    (comp.lang.php)
  • Forms to PDF template
    ... receive a non-editable PDF document, by email and/or in the browser, ... I have found numerous libraries like PDFkit etc that might well do ... I'm not sure if I can install the library onto my host server ... If the client does not currently have Acrobat reader installed ...
    (comp.text.pdf)
  • Mistake in MSDN
    ... I think I have found a mistake in MSDN. ... So its an HTMLServer control which does not submit. ... Model->Handling a Click Event in Client and Server Code) ... Is the above example a mistake in MSDN?? ...
    (microsoft.public.dotnet.framework)