stacks-cache

Official

Fast, reliable caching for Stacks apps.

Authorstacksjs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Caching reduces database load and speeds up response times by storing frequently accessed data in memory or Redis, eliminating repeated expensive computations.

Core Features & Use Cases

  • In-memory and Redis cache support with TTL and automatic eviction.
  • Cache-aside pattern (getOrSet) for on-demand computation and caching.
  • Factory helpers and configuration integration (config/cache.ts) for consistent defaults.

Quick Start

Create a memory cache via createMemoryCache and start caching results with cache.get/set in your application.

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