# aio-libs/aiocache

Asyncio cache manager for redis, memcached and memory

Repository: https://github.com/aio-libs/aiocache
Canonical: https://ross.abutalabs.com/products/aiocache
Homepage: http://aiocache.readthedocs.io
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: python-3, asyncio, redis, memcached, cache, cachemanager
Last push: 2026-06-28T20:08:27+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 8, longevity 100
- inputs: {"age_days": 3624, "days_push": 66, "days_rel": 707, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1438, forks 181 (observed 2026-08-28T04:04:43.937192+00:00)

## What it is
aiocache is an asyncio cache library for Python supporting multiple backends including memory, Redis, and Memcached. It provides a uniform minimal interface (get, set, multi_get, delete, etc.) plus a decorator for caching async function results.

## Use cases
- cache async function results in python with a decorator
- add redis caching to an asyncio web app
- swap cache backends between memory, redis, and memcached
- store python objects in redis with pickle or msgpack serializers
- implement ttl-based caching for expensive async calls
- share cached data across processes via memcached

## When to choose
- you need caching in asyncio-based python applications
- you want a single API across multiple cache backends
- you want decorator-based memoization of async functions

## When to avoid
- your code is synchronous and not asyncio-based
- you need advanced cache features like eviction policies or distributed locking
- you use a framework with its own built-in cache abstraction

## Facets
- artifact type: library
- maturity: stable
- function: caching, serialization
- domain: backend, web-development, databases, developer-tools
- platform: python, cross-platform
- tags: asyncio, redis, memcached, cache-decorator, multi-backend

## Member repositories
- aio-libs/aiocache (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:43.937192+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:39.202850+00:00, confidence not recorded.
  - readme: https://github.com/aio-libs/aiocache (fetched 2026-08-28T04:04:43.937192+00:00, sha 70039222fbc1)
  - registry_pypi: https://pypi.org/pypi/aiocache/json (fetched 2026-08-29T11:47:42.448415+00:00, sha 491bb28b3b9a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
