Enable WebSphere Commerce data cache

Data that is cached by the WebSphere Commerce data cache can be configured by using either the command caching or DistributedMap objects configuration methods. For the best performance, use DistributedMap object cache configuration. Command caching configuration is provided for compatibility with earlier versions only.

If you use command caching, we can choose which data to cache. We can fine-tune the configuration by changing the <cache-entry> element attributes, such as <priority>, <timeout>, and <inactivity>. See
cachespec.xml.

The WebSphere Commerce data cache can be configured to use DistributedMap object caches, by defining specially named object caches in the cacheinstances.properties file.

Some DistributedMap object caches are defined automatically during installation. To view these object caches, open the WebSphere Application Server Integrated Solutions Console, and on the left menu, click Resources > Cache instances > Object cache instances.


Procedure


Related concepts
Additional WebSphere Commerce data cache configuration


Related reference
Logical cache names and the DistributedMaps they use by default
Access bean classes extended to take advantage of WebSphere Commerce data cache
Data bean classes extended to take advantage of WebSphere Commerce data cache
Promotion evaluation considerations
CalculationCodeListDataBean considerations