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(_at_)yahoo(_dot_)com> 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