- 07 Oct 2024
- 1 Minute to read
- Print
- DarkLight
Pricing cache
- Updated on 07 Oct 2024
- 1 Minute to read
- Print
- DarkLight
A session cache in eCommerce caches pricing information at the user level. Users from the same company account and sales area may experience faster loading times when eCommerce reads data from a global cache instead of a session cache. To optimize the overall response time of the eCommerce application, configure a pricing cache.
Configure a pricing cache
To configure a pricing cache in Zilliant CPQ:
- From the left navigation area, select Administration.
- From the top navigation bar, select Master Data Management.
- Select the Setting Boolean row.
- Select Use Global Cache for Commerce Product Pricing.
- Set the Setting Value Boolean switch to YES. If set to NO, the eCommerce application reads from a session cache instead of a global cache when a user is signed in to eCommerce.
- Return to Master Data Management and select the Setting Numeric row.
- Select Cache Size for Commerce Product Pricing.
- Enter a cache size in the Setting Value Numeric field.
- Restart the server.
Recommended cache sizes
The following table lists recommended cache sizes. Actual cache sizes differ based on user count, number of products, and other parameters. Adjust cache sizes on a case-by-case basis.
Cache type | Cache size (number of products) |
---|---|
Global cache | 1,000,000 |
Session cache | 50,000 |
Optimize a global pricing cache
In the SAP Cloud Platform Cockpit, the JMX Console offers the following ways to analyze and optimize a global pricing cache:
The JMX Console supports analysis and optimization of global caches only. Session caches, which are managed at the user level, automatically adjust sizes based on the products needed.
Method | Description |
---|---|
analyzeCache | Returns statistics of the products in the cache, including:
|
cleanupCache | Clears the cache. |
cleanupCacheForExpiredDate | Clears the cache for products that have been in the cache for more than 24 hours. |