Skip to content

Tutorials

Tutorials are guided paths to a working result. They are written for application users who want to add Async Hybrid Cache to an async Python service without learning the internals first.

  • Get started: cache an async function in memory, then add Redis as shared L2 storage.
  • Use cache scopes: separate local LRU limits for manual cache operations and decorated functions.
  • Use with FastAPI: cache service functions, invalidate after writes, and add Redis for multiple workers.