cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timm, Sean" <ST...@mailgo.com>
Subject RE: cache thoughts
Date Wed, 23 Feb 2000 19:43:18 GMT
Ah...clarity is not always my forté.  :)  For instance, we are hitting
http://localhost/myweb/file.xml.  This URL doesn't change, but depending on
the data POSTed to the url, the stylesheet we process against it does
change.  Unfortunately, the stylesheet processor just looks at the URL and
says that it hasn't changed, so it serves it out of cache instead of
reloading it if the file has changed.

-----Original Message-----
From: Mike Engelhart [mailto:mengelhart@earthtrip.com]
Sent: Wednesday, February 23, 2000 12:13 PM
To: cocoon-dev@xml.apache.org
Subject: Re: cache thoughts


Timm, Sean wrote:

> The following was from my patch submittal:
> -------
> I figured out the problem I was seeing with XSLT stylesheets being cached
> off even though they had changed.  We are dynamically determining the
> stylesheet to display for a specific URL based on various factors, but the
> XSLT processor was only looking at the request object to determine if the
> resource had changed.  In our case, the requested resource was the same,
but
> the XSL filename was different.  I modified the processor to tack on the
> name of the XSL processor to the lookup key.
> -------
> 
> Unfortunately, there were other factors involved, so the fix had to be
> pulled,
> and this has yet to be addressed.

So you mean if I have two different stylesheets each of which include a file
named "globalsheet.xsl", that the "globalsheet.xsl" is cached twice because
the URL is different?  I'm not following I guess...

thanks,

mike

Mime
View raw message