cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brian moseley>
Subject RE: cache thoughts
Date Wed, 23 Feb 2000 20:11:47 GMT
On Wed, 23 Feb 2000, Timm, Sean wrote:

> 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.

suggestion: how about adding some time of ChangePolicy
abstraction to the framework. attach a ChangePolicy object
to each cached object, so the 'is it changed' question can
be delegated to the ChangePolicy object.

View raw message