On Fri, Dec 7, 2012 at 10:34 AM, Vincent Massol <vinc...@massol.net> wrote:
> > On Dec 7, 2012, at 10:30 AM, Thomas Mortagne <thomas.morta...@xwiki.com> > wrote: > > > On Thu, Dec 6, 2012 at 2:45 PM, David Delbecq <david.delb...@meteo.be > >wrote: > > > >> > >>> You can also use cache macro (see > >>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Cache+Macro) to > >> choose > >>> different timing for each contents. > >> > >> For what i read, it operates at a differente level, i caches the XDOM, > not > >> the rendered content. I am pretty sure XDOM uses more space in memory > that > >> a simple String, you still have the overhead of rendering operation and > you > >> have to manually manage your cache key, which is far mor cumbersome > thant > >> saying xwiki "hey, cache this page for 5 minutes, ok?) > > > > > > > >> Moreover, documentation suggest to avoid haveing different timeToLive on > >> different pages, because that's as much threads :s > >> > > > > That's true only with JBoss Cache but not with Infinispan which is what > is > > used by default in recent XWiki versions. > > Then the documentation needs to be updated if you're sure of what you say. > There is "It should only be an issue when using JBoss Cache though and since XWiki 3.3M1 we use Infinispan by default)." already in the documentation. > > Thanks > -Vincent > > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users