Ross ROSS = Recommend OSS · open-source software intelligence for agents

long2ice/fastapi-cache

fastapi-cache is a tool to cache fastapi response and function result, with backends support redis and memcached. observed · 2026-08-28

github.com/long2ice/fastapi-cache · homepage · Python · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

36/100

  • Activity 29
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2199
  • days_rel: n/a
  • days_push: 430
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1868 stars · 206 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

fastapi-cache is a Python library that adds caching to FastAPI endpoints and function results via a simple @cache decorator. It supports Redis, Memcached, Amazon DynamoDB, and in-memory backends, plus HTTP cache headers like ETag and Cache-Control.

Use cases

  • cache fastapi endpoint responses
  • cache function results in fastapi
  • add redis caching to fastapi app
  • serve cached responses with etag headers
  • speed up slow api endpoints with caching
  • cache api responses in memcached

When to choose

  • you use FastAPI and want drop-in response or function caching
  • you need pluggable cache backends like Redis, Memcached, or DynamoDB
  • you want HTTP-level caching semantics like ETag and Cache-Control

When to avoid

  • you use Flask, Django, or another non-FastAPI framework
  • you need distributed cache invalidation or advanced cache strategies beyond TTL
  • your app is not async or does not use FastAPI

Facets

library · maturity active

caching middleware web-development backend apis performance python fastapi redis memcached dynamodb cache-decorator http-caching etag web-server

2 sources

Member repositories

RepositoryRoleHealth v2
long2ice/fastapi-cachemain36

For agents

markdown · JSON · MCP: product_card(name="long2ice/fastapi-cache")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem