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: <xsl:import href="/bar.xsl"/> 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. Thanks again. --- 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" > href="/xsl/foo.xsl"?> > > and see if caching for stylesheet works.. > > I guess you cannot control caching behaviour of IE, > beyond these things.. > > Regards, > Mukul > > > --- 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 > whenever > > IE > > tries to fetch /xsl/foo.xsl it sends > "Cache-Control: > > 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 > sent. > > > > Could someone explain what's happening here and > how > > 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 > 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 http://sitebuilder.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] IE XSLT caching problem, Mukul Gandhi | Thread | [xsl] TrAX API and xsl:message, Cams Ismael |
Re: [xsl] select the attribute II, , David Carlisle | Date | [xsl] finding "empty" text nodes wh, Kathy Burke |
Month |