cocoon-dev mailing list archives

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

I'm taking up a thread about caching of generated XSPs started at

I've ported the patches in 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

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,

View raw message