You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Scott Payne <sc...@publicimage.eu.com> on 2004/07/02 06:05:17 UTC

Caching of generated XSP

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 generated XSP?

Thanks in advance for any help,
Scott.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Caching of generated XSP

Posted by Joerg Heinicke <jo...@gmx.de>.
On 02.07.2004 06:05, Scott Payne wrote:

> 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 generated XSP?

Hello Scott,

you should ask such highly Cocoon internal questions on the developers 
list or add your comments to the bug. Otherwise I fear you will get no 
answer besides from Marco Rolappe maybe.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org