What exactly would your cache provide over the existing cache mechanisms
suggested in
http://jira.xwiki.org/jira/browse/XWIKI-2022 amd
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances combined
with an apache httpd front-end and a load-balanced tomcat setup on multiple
hosts?
Specifically
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances
suggests:
Mod Expire Configuration
vwwwpro-1:~# cat /etc/apache2/conf.d/expires
<Location /xwiki/skins/>
ExpiresActive on
ExpiresDefault "access plus 1 day"
</Location>
<Location /xwiki/bin/skin/>
ExpiresActive on
ExpiresDefault "access plus 1 day"
</Location>
Cache sizes
Tune the document cache in xwiki.cfg. The value depends on how much memory
you have. The higher the better. A good reasonable value is 1000.
xwiki.store.cache.capacity=1000
Rendering cache
Some pages are complex to render (they may aggregate outside data for
example or do complex and slow queries). For these pages you can add the
following to their content to cache them after they are rendered. For
example to cache the rendered content for 60 seconds you would add:
$context.setCacheDuration(60)
-- Niels.
http://nielsmayer.com
On Thu, Apr 24, 2008 at 7:49 AM, Glenn Everitt <Glenn.Everitt(a)compuware.com>
wrote:
Thanks for the link. I'm looking for information about how to configure
existing oscache. I've looked in the oscache.properities and looks like I
just uncomment a couple of lines and I'm running clustered. I just
thought
there would be a wiki page. If I can figure out how to do it I create a
page.
look like you specify location for cache
cache.path=c:\\app\\cache
select caching algorhythm
cache.algorithm=com.opensymphony.oscache.base.algorithm.LRUCache
Not sure if there is anything else.
Thanks again - Glenn Everitt
--
View this message in context:
http://www.nabble.com/xwiki-on-tomcat-cluster-tp16808231p16850750.html
Sent from the XWiki- Dev mailing list archive at
Nabble.com.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs