Price rule object cache overview

Business object caching eliminates querying of price rule database tables when setting prices on the storefront for a customer. By managing the memory allocated to the cache we can fine-tune price rule performance.


PriceRuleCache (PR_Cache)

The PriceRuleCache object cache instance is a location where a distributed map cache (PR_Cache) stores data pertaining to a price rule business object. The data stored in the PriceRuleCache includes:

The business object mediators to create, update or delete price rule, price equation or price constant, will maintain the appropriate data in the business object cache. The price rule object cache uses the following classes:


Clearing the cache

If you need to clear the PR_Cache, run the scheduler job InvalidatePriceRuleCache using the Administration Console. If the price rule information in the database is updated through SQL, massload, or stageprop, then you should clear all the cached information. For information on how to run a scheduler job, see Scheduling a site-level job.


Refreshing the store registry

If we create a new extended site store, refresh the Stores registry after the store is created successfully. For information on how to refresh a registry, see Updating registry components.


Related concepts
Dynamic cache invalidation for prices generated by price rules
Dynamic caching


Related tasks
Tuning the price rule object cache
Setting up dynamic cache invalidation for prices generated by price rules