[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] IE caching problems?
Quoting Ron Phipps (rphipps@reliant-solutions.com):
> > Nope. It uses a more reliable method -- unique integer always in the URL.
> > That should work even for stubborn proxy caches. I think you could have
> > grepped the docs and figured that one out -- I would leave you to do that
> > but I think this might be helpful to a few people and I need to start
> building
> > my library of FAQs back up.
>
> I searched the online docs for pragma, nocache, cache and mv_no_count and
> was uanble to find what I was looking for. Which docs was this faq in?
> Perhaps I don't have it in my search path for when I run into problems.
Maybe I wasn't clear -- the FAQ didn't exist until I just wrote it.
The docs on mv_no_count did -- that is what I would have had you find. 8-)
>
> > If you prefer to keep the unique integer out of the URL, and you
> > trust proxy servers to honor the parameter (hah!), you can do:
> >
> > Autoload <<EOA
> > [if session browser =~ /MSIE/]
> > [tag op=header]Pragma: no-cache[/tag]
> > [/if]
> > EOA
> >
> > or even
> >
> > Autoload <<EOA
> > [if session browser =~ /MSIE/]
> > $Variable->{NO_CACHE} = '<META HTTP-EQUIV="Pragma"
> content="no-cache">';
> > [/if]
> > EOA
> >
> > with __NO_CACHE__ in the header for pages you don't want cached.
> >
>
> Come to find out this method does not work with the new IE 5 browsers. Here
> are the MSDN articles that describe the problem and solution:
>
> Points out to put another <HEAD> and <META> tag at the BOTTOM of the page
> for <IE 5. Does not work for IE 5.
> http://support.microsoft.com/support/kb/articles/Q222/0/64.ASP
>
> Points out to write to the header of the page with nocache options like so
> (converted to JScript)
> http://support.microsoft.com/support/kb/articles/Q234/0/67.ASP
>
> <%
> response.setHeader("Cache-Control","no-cache"); file://HTTP 1.1
> response.setHeader("Pragma","no-cache"); file://HTTP 1.0
> response.setDateHeader ("Expires", 0); file://prevents caching at the proxy
> server
> %>
>
This gets added to the new FAQ -- thanks, Ron. I appreciate your contributions
on the list.
> I'm going to use the mv_set_no_count as this *should* work for IE. If it
> doesn't then we'll use the JScript code to write out the header.
It should indeed work.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users