You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by m....@devote.nl on 2000/10/06 17:26:17 UTC

Caching: Calling method on Java object vs. including servlet response

Hi,

I am working on a site in which a major part of the requests is dynamic.
One part of these requests handle the contents of menu's, headers, etc.
These requests can be cached by the webserver or a proxy server. The other
part is user specific content and can probably not be cached.

Would it be wise to use servlets for the general content, in combination
with the <util:include-uri> tag, and to use a Java class with the
<xsp:expr> to get user specific content in the xsp page?

I saw in the faq that this is not recommended, but doesn't it have
advantages for caching?
I am using Cocoon 1.

TIA,
Michael Homeijer