cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jos Snellings <jos.snelli...@upperware.biz>
Subject Use LRU cache
Date Tue, 25 Jun 2013 04:54:34 GMT
Hi,

Just reported the issue and proposed a patch, though I am not very happy
with it.

+ :  it intervenes only in cocoon-sax
-  : it introduces a new dependency (on spring).
Question: would it be better to decide in cocoon-sitemap if an LRU cache is
used?

The constructor would have an extra parameter then. the template is loaded
(or not) in the
constructor, which is a bit early.

What do you think?

Cheers,
Jos


-- 
We should be careful to get out of an experience only the wisdom that is
in it - and stay there, lest we be like the cat that sits down on a hot
stove-lid.  She will never sit down on a hot stove-lid again - and that
is well; but also she will never sit down on a cold one any more.
        -- Mark Twain
 <http://www.brainyquote.com/quotes/quotes/t/thomashobb118630.html>

Mime
View raw message