cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Payne" <scott.pa...@publicimage.eu.com>
Subject Caching of generated XSP.
Date Mon, 05 Jul 2004 01:07:46 GMT
Hi,

I'm taking up a thread about caching of generated XSPs started at
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=107880112301284&w=2.

I've ported the patches in
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26725 to the 2.1.5 source
but we still seem to have a bit of a bottle-neck.

Although the new EnvironmentWrapper now has a getLastModified() method, the
lastModified field is only set by the isResponseModified() method, which
doesn't seem to be called for the generated content. Therefore the
getLastModified() method always returns 0, and the java file always gets
regenerated.

So, my question is, has anyone tried to get this working without the
regeneration? Is there somewhere appropriate we should set the lastModified
time for the SitemapSource instance representing the generated XSP?

Thanks in advance for any help,
Scott.


Mime
View raw message