What problem does it solve?
This Skill addresses slow application performance and excessive database load by implementing and managing OFBiz's caching mechanisms, ensuring data is retrieved efficiently without compromising integrity.
Core Features & Use Cases
- UtilCache Management: Programmatically control application-level caching with options for size, expiration, and reference types.
- Entity Engine Caching: Configure and leverage OFBiz's built-in caching for entity data to speed up lookups.
- Service Result Caching: Enable caching for service operations to avoid redundant computations.
- Cache Invalidation: Implement robust strategies to ensure cached data remains consistent with the database, especially after data modifications.
- Use Case: When database queries for product information are slow, this Skill can be used to configure
UtilCache or enable Entity Engine caching for the Product entity, significantly reducing latency.
Quick Start
Use the manage-cache-and-performance skill to configure a new cache named 'my.custom.cache' with a maximum size of 5000 entries and an expiration time of 1 hour.