Aiohttp-Cache

Python ⭐ 44 stars

Aiohttp-Cache is a cache system for aiohttp servers that makes your APIs fly.

Speed matters. A lot.

The problem

APIs often do the same thing over and over. Database queries, external service calls… all of that is slow.

The solution? Cache. But doing it right is complicated.

What does Aiohttp-Cache do?

  • Automatic HTTP response caching
  • Support for multiple backends (Redis, Memcached, memory)
  • Smart invalidation
  • Configurable TTLs
  • Zero config by default

Use cases

I’ve used it in APIs that went from 100ms latency to 5ms.

A 95% improvement. Just by adding cache.

+44 stars and used in production in high-traffic APIs.

If you use aiohttp and need speed, try it.