Re: Caching problem
From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 07/28/04
- Next message: Ken Schaefer: "Re: How do i remove this Default Error Message"
- Previous message: tony: "Re: forms on IIS 5.0"
- In reply to: Adrienne: "Re: Caching problem"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Jul 2004 11:10:26 +1000
You need to work out if IIS is caching the page (ie always sending out the
same content), or the browser is, or some proxy server in between is.
Is this an ASP page? Or some other dynamic page? Or a static page (like a
HTML page)?
Cheers
Ken
"Adrienne" <anonymous@discussions.microsoft.com> wrote in message
news:4faf01c473e2$bfb352a0$a501280a@phx.gbl...
> I have tried removing the code in the head section and
> just setting the http headers in IIS to expire content
> immediately and it did not work. I have also tried
> unchecking content expiration entirely and only putting
> the code in the head section and that did not work. I
> have also looked in knowledgebase but have not seen
> anything other than adding the meta tags in the header of
> the page. Is there anything else I can do?
>
> Adrienne
>
> >-----Original Message-----
> >a) Those meta tags should be in the <head></head> part of
> the page
> >
> >b) If you have real HTTP headers that are different to
> the <meta> tags, then
> >the real HTTP headers often override the meta tags. The
> meta tags are hints
> >that a browser can ignore, especially if it receives
> conflicting HTTP
> >headers
> >
> >c) If you are using ASP:
> >
> ><%
> >Response.ExpiresAbsolute = #1/1/1980#
> >Response.AddHeader "pragma", "no-cache"
> >Respones.AddHeader "cache-control", "no-cache"
> >%>
> >
> >HTH
> >
> >Cheers
> >Ken
> >
> >
> >"Adrienne" <anonymous@discussions.microsoft.com> wrote in
> message
> >news:473e01c47358$6d79ed80$a601280a@phx.gbl...
> >> I am running a website with iis 5.0 on w2k advanced
> >> server. I have the pragma and no-cache meta tags in my
> >> header (a copy is below). I even added the tags to the
> >> end of the page because I was told that sometimes it
> will
> >> not work in just the header and you must also add it to
> >> the end of your page. But that did not work because my
> >> pages are not reflecting the code changes I am trying to
> >> make. How do I stop the pages from being cached?
> >>
> >> <meta http-equiv="Pragma" content="no-cache"/>
> >> <meta http-equiv="Expires" content="-1" />
> >
> >
> >.
> >
- Next message: Ken Schaefer: "Re: How do i remove this Default Error Message"
- Previous message: tony: "Re: forms on IIS 5.0"
- In reply to: Adrienne: "Re: Caching problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|