[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: IE XSLT caching problem

Subject: Re: IE XSLT caching problem
From: Enoch Root <enokhroot@xxxxxxxxx>
Date: Fri, 12 Sep 2003 08:20:31 -0700 (PDT)
xslt caching
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.