Thorsten Scherler schrieb:
On Fri, 2008-02-01 at 19:29 +0100, Andreas Hartmann wrote:
Hi Lenya devs,
...
Unfortunately I don't see a way to prune stale sources from the cache
automatically.
Validity would not work?
The validity check is so expensive that IMO we can't afford to do it,
because it requires checking the existence of all files in the cascade
(in the worst case). Profiling showed that this check is the single most
expensive operation among the org.apache.lenya.* classes. When
requesting the homepage, about 180 (!) fallback sources are checked.
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]