{"adoption": {"forks": 206, "observed_at": "2026-08-28T04:05:46.454949+00:00", "stars": 1868}, "canonical_url": "https://ross.abutalabs.com/products/fastapi-cache", "card": {"archived": false, "artifact_type": "library", "description": "fastapi-cache is a tool to cache fastapi response and function result, with backends support redis and memcached.", "domain": ["web-development", "backend", "apis", "performance"], "enriched": true, "function": ["caching", "middleware"], "health_score": 45, "homepage": "https://github.com/long2ice/fastapi-cache", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["long2ice/fastapi-cache"], "name": "long2ice/fastapi-cache", "platform": ["python"], "pushed_at": "2025-06-30T00:20:56+00:00", "repo": "long2ice/fastapi-cache", "stars": 1868, "tags": ["fastapi", "redis", "memcached", "dynamodb", "cache-decorator", "http-caching", "etag", "web-server"], "topics": ["cache", "fastapi", "redis", "memcached"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/fastapi-cache", "repo": "long2ice/fastapi-cache", "role": "main", "score": 36}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.454949+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:15:14.380066+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4899ab1139fa7c9c66a3c0684fd5fb296c786d08796b84df5eae1033cd684056", "fetched_at": "2026-08-28T04:05:46.454949+00:00", "kind": "readme", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}, {"content_hash": "698ff6534b89fa423969696c06e14d15f2f052cffbaf85925ee6b65cb5277bbc", "fetched_at": "2026-08-29T10:54:22.240070+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.454949+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:15:14.380066+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4899ab1139fa7c9c66a3c0684fd5fb296c786d08796b84df5eae1033cd684056", "fetched_at": "2026-08-28T04:05:46.454949+00:00", "kind": "readme", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}, {"content_hash": "698ff6534b89fa423969696c06e14d15f2f052cffbaf85925ee6b65cb5277bbc", "fetched_at": "2026-08-29T10:54:22.240070+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:15:14.380066+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4899ab1139fa7c9c66a3c0684fd5fb296c786d08796b84df5eae1033cd684056", "fetched_at": "2026-08-28T04:05:46.454949+00:00", "kind": "readme", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}, {"content_hash": "698ff6534b89fa423969696c06e14d15f2f052cffbaf85925ee6b65cb5277bbc", "fetched_at": "2026-08-29T10:54:22.240070+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.454949+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.454949+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.454949+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:15:14.380066+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4899ab1139fa7c9c66a3c0684fd5fb296c786d08796b84df5eae1033cd684056", "fetched_at": "2026-08-28T04:05:46.454949+00:00", "kind": "readme", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}, {"content_hash": "698ff6534b89fa423969696c06e14d15f2f052cffbaf85925ee6b65cb5277bbc", "fetched_at": "2026-08-29T10:54:22.240070+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.454949+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.454949+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:15:14.380066+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4899ab1139fa7c9c66a3c0684fd5fb296c786d08796b84df5eae1033cd684056", "fetched_at": "2026-08-28T04:05:46.454949+00:00", "kind": "readme", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}, {"content_hash": "698ff6534b89fa423969696c06e14d15f2f052cffbaf85925ee6b65cb5277bbc", "fetched_at": "2026-08-29T10:54:22.240070+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.454949+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.454949+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.454949+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:15:14.380066+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4899ab1139fa7c9c66a3c0684fd5fb296c786d08796b84df5eae1033cd684056", "fetched_at": "2026-08-28T04:05:46.454949+00:00", "kind": "readme", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}, {"content_hash": "698ff6534b89fa423969696c06e14d15f2f052cffbaf85925ee6b65cb5277bbc", "fetched_at": "2026-08-29T10:54:22.240070+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.454949+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.454949+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:15:14.380066+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4899ab1139fa7c9c66a3c0684fd5fb296c786d08796b84df5eae1033cd684056", "fetched_at": "2026-08-28T04:05:46.454949+00:00", "kind": "readme", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}, {"content_hash": "698ff6534b89fa423969696c06e14d15f2f052cffbaf85925ee6b65cb5277bbc", "fetched_at": "2026-08-29T10:54:22.240070+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:15:14.380066+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4899ab1139fa7c9c66a3c0684fd5fb296c786d08796b84df5eae1033cd684056", "fetched_at": "2026-08-28T04:05:46.454949+00:00", "kind": "readme", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}, {"content_hash": "698ff6534b89fa423969696c06e14d15f2f052cffbaf85925ee6b65cb5277bbc", "fetched_at": "2026-08-29T10:54:22.240070+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:15:14.380066+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4899ab1139fa7c9c66a3c0684fd5fb296c786d08796b84df5eae1033cd684056", "fetched_at": "2026-08-28T04:05:46.454949+00:00", "kind": "readme", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}, {"content_hash": "698ff6534b89fa423969696c06e14d15f2f052cffbaf85925ee6b65cb5277bbc", "fetched_at": "2026-08-29T10:54:22.240070+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:15:14.380066+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4899ab1139fa7c9c66a3c0684fd5fb296c786d08796b84df5eae1033cd684056", "fetched_at": "2026-08-28T04:05:46.454949+00:00", "kind": "readme", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}, {"content_hash": "698ff6534b89fa423969696c06e14d15f2f052cffbaf85925ee6b65cb5277bbc", "fetched_at": "2026-08-29T10:54:22.240070+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/long2ice/fastapi-cache"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 29, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2199, "days_push": 430, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 36, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}