Caching notes
- Caching behavior can be configured in the ehcache.xml file that lives at the root of the ExpereIEServices EAR.
- There need to be two caches defined for Expere to function properly:
- ResolutionCatalog - Holds cached resolution catalog objects used by ExpereRules documents
- ContentCompiledObject - Holds compiled content
- Font – caches fonts used when rendering static documents
- Image – holds images used when rendering dynamic documents
- The default settings are fairly conservative. If large amounts of memory are available, then performance will benefit by increasing the maxBytesLocalHeap and maxBytesLocalDisk values of the ExpereCache or the ContentCompiledObject cache.
- By default, the ContentCompiledObject cache is set to overflow onto disk. The location of this disk store is specified by the path attribute on the diskStore element in the configuration file.
- It is important that if more than one instance is run on the same machine, that this path is unique for each instance.
- A detailed explanation of all of the available configuration parameters is in the ehcache.xml file. More detailed documentation is also available at http://ehcache.sourceforge.net/documentation.