Ivelin Ivanov wrote:

Interesting question.
I am not sure if and how CInclude treats Cache and Expire headers.
I think it simply reads the URL resource.

Ivelin,

Jeremy aggregates internal pipelines, thus there is no URL resources here, but Cocoon internal pipelines.


If it was using Jakarta HttpClient as the WebServiceProxyGenerator is,
it would cache content.
If you have time you can probably consider contributing this improvement.

Jeremy,

You need to use CachingCInclude transformer which provides caching abilities. Result will be cached as long as all parts are valid, i.e. validity of whole pipeline is created using validities of aggregated parts.

Vadim


Ivelin


----- Original Message ----- From: "Jeremy Quinn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 03, 2002 4:55 AM
Subject: Re: [important proposal] Cocoon as official Apache project



On Saturday, Nov 2, 2002, at 15:51 Europe/London, Ivelin Ivanov wrote:


So the expire tag has a double benefit. First it lightens the load on the
app server, because the web server caches and second it lightens the load on
the web server when the the browser has read the content once.


Thanks for this, yes it really works well!

Do you have any recommendations how to manage caching on internal pipelines?

I have a <component/> architecture in my current project that uses cinclude to import internal pipelines into documents that helps keep component implementation separate from usage (even from main sitemap).

I am struggling to work out what gets cached, and what does not ;)


regards Jeremy



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to