lutece-cache

Community

Patterns for Lutece 8 plugin cache.

Authorvanhemsj
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lutece-cache
Download link: https://github.com/vanhemsj/lutecepowers/archive/main.zip#lutece-cache

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.