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

Microsoft Ambiguity regarding XSL stylesheet caching

  • To: xml-dev@l...
  • Subject: Microsoft Ambiguity regarding XSL stylesheet caching
  • From: Enoch Root <enokhroot@y...>
  • Date: Sat, 11 Oct 2003 00:40:42 -0700 (PDT)

style sheet cache
Hi all;

At the following URL

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/htm/xslt_starter_27w4.asp

Microsoft states that:

<msdn quote>
There are several reasons for having client-side
deployment of an XSLT solution. The primary reason is
to reuse the client-side caching to avoid downloading
the same documents repeatedly. For example, you might
have several XML documents that use the embedding
method to link to the same XSLT style sheet. With
client-side caching, the style sheet is downloaded
once and only once. The next downloaded XML document
will use the cached version of the style sheet. This
helps to reduce download time.
</msdn quote>

However, as a matter of fact, the latest version of
Internet Explorer (6.0.2800.1106) does not behave as
described above.  Specifically, if I create an XML
document as a response to an HTTP POST request, and
embed a link at the top of it as below:

<?xml-stylesheet type="text/xsl" href="/xsl/foo.xsl"?>

foo.xsl DOESN'T get cached, IE tries to retreive it
every time.  I've dumped the HTTP traffic, and it
looks like IE copies Cache-Control: no-cache header
from the HTTP POST request into the resulting GET
/xsl/foo.xsl request as well.

Briefly, I wonder if experienced people on this list
(esp. people from Microsoft) could comment on it.  Is
it a bug or the expected behaviour?

Regards.

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.