cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: Cache global or per-servlet/per-sitemap?
Date Wed, 18 Apr 2007 13:44:06 GMT
Alexander Klimetschek napisaƂ(a):
> Grzegorz Kossakowski schrieb:
>> Thanks for investigating into it. Although I do not know much about
>> cache internals it seems reasonable for me to have one cache per
>> servlet, actually. As long as you don't use <map:mount> you have one
>> sitemap per servlet so desired effect should be achieved.
> 
> I think there are reasons for a global cache, probably the
> implementation of the caches itself, as some save onto disk
> (target/work/...) and they would need different directories each.

After giving it more thinking I change my opinion. There are plenty of reasons to keep one,
global cache. Otherwise, exactly the same
resource would be cached several times in different blocks.

-- 
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

Mime
View raw message