Differences between revisions 2 and 3
Revision 2 as of 2004-11-16 14:04:03
Size: 1592
Comment:
Revision 3 as of 2009-09-20 22:02:43
Size: 1592
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

How to configure the store caches

Caching is configured with parameters of the store definition in Domain.xml. E.g. to set a changed object cache size you would have something like this:

<store name="tx">

  • <parameter name="object-cache-size">100</parameter>

  • ..

</store>

Setting -1 as the size of a cache disables it. A summary of common caching parameters:

Paramter name

Description

Default

cache-mode

sets the mode of caching, full=all caches enabled, off=all caches disabled, isolation-shadow/cluster=caches are only valid for the duration of a request/transaction

full

cache-timeout

sets a timeout for global caches (not available in Slide 2.1)

-1 (infinite)

object-cache-size

max. cached object nodes

10000

permission-cache-size

max. cached permission objects

10000

lock-cache-size

max. cached WebDAV locks

100

descriptors-cache-size

max. cached revision information set

10000

descriptor-cache-size

max. cached revision informations

10000

content-cache-size

max. cached content resources

10000

enable-content-caching

switched on/off content caching

false

tx-content-cache-size

max. cached local content resources in a transaction

1000

content-cache-bytes

max. cached content bytes

10000000 (10M)

tx-content-cache-bytes

max. cached local content bytes in a transaction

1000000 (1M)

max-content-bytes-per-entry

max. size of a content resource to be cached

50000 (50K)

CacheConfiguration (last edited 2009-09-20 22:02:43 by localhost)