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 8c4db50 5 files · 18.1 KB Updated

File contents

alti3/litestar-skills/tree/main/plugins/litestar/skills/litestar-caching commit 8c4db50379

Frequently asked questions

npx skillmds@latest add alti3/litestar-caching