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/
