litestar-caching

Community

Tune Litestar caching for fast responses.

Authoralti3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Configure Litestar response caching with route-level cache controls, key design, TTL strategy, and invalidation-aware behavior. Use when optimizing read-heavy endpoints or reducing repeated computation. Do not use for mutable workflows that require immediate consistency unless explicit cache invalidation is designed.

Core Features & Use Cases

  • Route-level caching with TTL and configurable cache keys to segment data by context (tenant, locale, user).
  • Invalidation-aware caching strategy that triggers refresh on relevant write events and data changes.
  • Example patterns and usage with the litestar-caching skill to illustrate safe, reusable caching policies.

Quick Start

Configure a read-heavy endpoint to use route-level caching with a defined TTL and key dimensions.

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: litestar-caching
Download link: https://github.com/alti3/litestar-skills/archive/main.zip#litestar-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 223,000+ vetted skills library on demand.