Litestar Caching

Configure Litestar response caching with route-level `cache` controls, app-level `ResponseCacheConfig`, store selection, TTL strategy, cache key design, and `cache_response_filter` rules. Use when optimizing read-heavy or polling-heavy Litestar endpoints without breaking correctness for tenant-, locale-, or auth-scoped responses. Do not use for write-heavy or immediately consistent workflows unless cache invalidation or versioning is designed explicitly.

alti3 Updated 7 repo stars

File contents

alti3/litestar-skills commit 8c4db50379

Frequently asked questions

npx get-skill add alti3/litestar-caching