Invalidating query cache entries key
Remember that stale results are automatically invalidated when the index is refreshed.This setting is provided for completeness' sake only.
The shard-level query cache module caches the local results on each shard.In other words, you will always get the same results from the cache as you would for an uncached search request.The longer the refresh interval, the longer that cached entries will remain valid.The following sections are included in this chapter: An example use case is a trading system desktop, in which a trader's open orders and all related information must always be maintained in an up-to-date manner.By combining the Coherence*Extend functionality with Continuous Query Caching, an application can support literally tens of thousands of concurrent users.If a query uses bind parameters, these will also be hashed and used as the cache lookup key.
That means even if the query string for two queries is identical, the query cache will treat them as different queries if they have different bind parameter values.
Since Commerce uses the dynamic cache service of Web Sphere, the following are examples of the types of cache:- This is where the execution of server side commands are cached.
It takes the execute method of a command and determines whether it can be cached or if exist.
The query cache will consider two queries identical if they have exactly the same query string.
Any deviation in terms of whitespace, capitalization etc. The query string will be hashed and used as the cache lookup key.
I don't want to focus on where and what to cache in this blog. I simply want to try and shed some light on cache invalidations as it relates to Web Sphere Commerce.