[XSL-LIST Mailing List Archive Home]
Re: [xsl] IE XSLT caching problem
Subject: Re: [xsl] IE XSLT caching problem|
From: Enoch Root <enokhroot@xxxxxxxxx>
Date: Fri, 12 Sep 2003 08:20:31 -0700 (PDT)
Well, I made a little progress. My forms were using
POST method, a response to whom isn't cachable
according to RFC 2616, so I changed them to GET and
now foo.xsl is being cached fine, however, foo.xsl
includes some other stylesheet as follows:
This time it's bar.xsl which doesn't get cached. Even
though response to GET /bar.xsl inlcludes
Last-Modified header, IE doesn't seem to send
If-Modified-Since for stylesheets that are being
included. This almost quite opposite of what was
happening with the POST method.
It'd be great if anyone could point me in the right
direction, in the meantime, I'll do my own research.
--- Mukul Gandhi <mukulw3@xxxxxxxxx> wrote:
> This behaviour is probably internal to IE.. I think
> you can control caching in IE only from, Tools ->
> Internet options -> Temporary Internet Files ->
> Settings ..
> You can try giving full URL of XSL at the line --
> <?xml-stylesheet type="text/xsl"
> and see if caching for stylesheet works..
> I guess you cannot control caching behaviour of IE,
> beyond these things..
> --- Enoch Root <enokhroot@xxxxxxxxx> wrote:
> > Hi all;
> > I'm doing client side XSLT and forms in my webapp
> > usually generate XML responses as below:
> > <?xml version="1.0" encoding="ISO-8859-9"?>
> > <?xml-stylesheet type="text/xsl"
> > href="/xsl/foo.xsl"?>
> > <root>
> > ...
> > </root>
> > I've dumped HTTP traffic and it seems that
> > IE
> > tries to fetch /xsl/foo.xsl it sends
> > no-cache" header, which prevents stylesheet from
> > being
> > cached, however, when I type the full URL for
> > foo.xsl
> > directly into browser, no such header is being
> > Could someone explain what's happening here and
> > can I force IE to cache stylesheets?
> > Thanks in advance!
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site
> > design software
> > http://sitebuilder.yahoo.com
> > XSL-List info and archive:
> > http://www.mulberrytech.com/xsl/xsl-list
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> XSL-List info and archive:
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list