Well, that's a bit my problem there :/
i don't want to encode every page as they are created. Restarting xwiki after each new
page or even tracking the list of xwiki page can be a nightmare.
On the other hand, i can't easily go on a space by space basis. Sure some spaces are
pure xwiki content and no trouble at all, but most spaces will have pages here and there
that must not be cached :(
I guess i will have to disable cache for most of our xwiki then and only enable it on
pages that have heavy load.
Could you tell me why the xwiki 1 annotation to disable cache was not migrated to xwiki 2?
----- Mail original -----
De: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
À: "XWiki Users" <users(a)xwiki.org>
Envoyé: Vendredi 7 Décembre 2012 16:44:12
Objet: Re: [xwiki-users] xwiki render cache not working?
On Fri, Dec 7, 2012 at 3:52 PM, David Delbecq <david.delbecq(a)meteo.be>wrote;wrote:
I still have sme question regarding glocal caching
policy. If there is no
way on a specific page to disable cache, Does that mean if i ask to cache
"all page", administration pages will stop showing up to date informations?
What is the process in those pages, like group editor, search result, to
avoid caching of result and outdated datas?
Yes since that's the point of rendering cache. But you should not enable
cache for everything and at least choice specific spaces if not pages.
----- Mail original -----
De: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
À: "XWiki Users" <users(a)xwiki.org>
Envoyé: Vendredi 7 Décembre 2012 10:30:29
Objet: Re: [xwiki-users] xwiki render cache not working?
On Thu, Dec 6, 2012 at 2:45 PM, David Delbecq <david.delbecq(a)meteo.be
wrote:
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.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users