serverpod-caching

Official

Cut load with fast local and Redis caching

Authorserverpod
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Server-side performance suffers when repeated database reads and expensive queries happen every time a request comes in, especially for data that does not change often.

Core Features & Use Cases

  • Local and Redis caches: Store and retrieve cached values via session.caches to reduce repeated work within and across server instances.
  • Typed get/put and primitive support: Cache serializable models or supported primitives with strong typing for reads.
  • CacheMissHandler for automatic population: Compute the value only on cache misses and store it with a configured lifetime.
  • Cache groups for invalidation: Use groups to help coordinate cache invalidation patterns for related entries.

Quick Start

Use the serverpod-caching skill to cache frequently requested data in session.caches.local or session.caches.global with a safe lifetime and a stable key like EntityName-id.

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: serverpod-caching
Download link: https://github.com/serverpod/serverpod/archive/main.zip#serverpod-caching

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.