Blog Archives

Manage a custom servlet cache instance: configuration and invalidation

Most of the times in your baseCache instance falls several different types of cache entries: full pages, fragments, marketing command objects, policies. Based on the “Best practices for caching design and decisions“, those entries could be moved to a different

Tagged with: , ,
Posted in cache, websphere application server, websphere commerce

Invalidate catalog cache contents by events

Usually when you setup a new cache strategy, you initially choose to apply a time based invalidation policy for your entries. But starting from FEP5 if you are using search navigation and SOLR features, there is an interesting alternative. Defining

Tagged with: , , , ,
Posted in cache, search, websphere commerce

How to cache category view grid pages in Aurora using search facets

One of the most used features in a Aurora front-end is the category list view using facet filters To increase the usability of this important feature, it’s mandatory to configure dynacache to handle user interactions with the filters. When you

Tagged with: , ,
Posted in cache, search, websphere commerce

Estimate memory needed for dynacache and Commerce data cache

To find out how much memory is used for cache it’s not a simple task. You should take several heapdumps under load, take into account disk offload, replication and see the total size of com.ibm.ws.cache.Cache just to start. Then estimate

Tagged with: ,
Posted in cache, websphere commerce

Is your Websphere Commerce cache configuration complete? (Oracle version)

How can I be sure I didn’t forget something on my dynacache and data cache configuration? Quite easy: if you missed cache entries on cachespec.xml or some configurations in the cacheinstances.properties, your DB will execute much more queries than expected.

Tagged with: , , ,
Posted in cache, oracle, websphere commerce

Warmup dynacache with a script

Sometimes you need to quickly fill dynacache entries using a script after invalidating the whole cache contents or after a staging propagation. There are two main issues to solve in a Commerce cluster (horizontal and vertical): fill the entries in

Tagged with: , ,
Posted in cache, websphere commerce

Activate Websphere Commerce Data Cache

Caching contents on WC is not only a cachespec.xml configuration task. Another powerful feature is to cache database query results using Websphere Commerce data cache. There are two ways to cache database query results: using cachespec.xml or configuring specified DistributedMap instances.

Tagged with: , , ,
Posted in cache, websphere commerce