What problem does it solve?
It provides a reusable, CDI-based cache framework for Lutece 8 plugins, reducing database load and improving runtime performance through centralized cache management.
Core Features & Use Cases
- Integration with AbstractCacheableService (JSR-107) for consistent caching across services.
- CDI-based initialization and lifecycle management via @PostConstruct and @ApplicationScoped.
- Centralized cache key builders and safe invalidation through CDI events to keep data fresh.
- Use in Home/Service layers to transparently get, cache, and invalidate entities and collections.
Quick Start
Create a new cache service by extending AbstractCacheableService, annotate it as @ApplicationScoped, initialize it with initCache in a @PostConstruct method, and wire it into your domain service to perform get/put/remove operations.