implement-cache-strategy

Official

Accelerate services with unified multi-tier caching.

Authorfireflyframework
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provide a unified reactive caching layer for Firefly Framework services by consolidating multiple backends (Caffeine, Redis, Hazelcast, JCACHE) behind a single CacheAdapter, enabling consistent usage, pluggable persistence, and predictable performance.

Core Features & Use Cases

  • Unified CacheAdapter with pluggable backends (Caffeine, Redis, Hazelcast, JCACHE) and L1/L2 composition.
  • SmartCacheAdapter support for multi-tier caching, health checks, and metrics; per-use-case CacheManagerFactory instances.
  • CQRS integration via QueryCacheAdapter and event-driven invalidation to keep reads fresh after writes.

Quick Start

Install and configure a cache using CacheManagerFactory, then wire your service to read/write through the cache with get/put semantics.

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: implement-cache-strategy
Download link: https://github.com/fireflyframework/fireflyframework-claude-skills/archive/main.zip#implement-cache-strategy

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 223,000+ vetted skills library on demand.