{"adoption": {"forks": 162, "observed_at": "2026-08-28T04:04:11.252614+00:00", "stars": 1266}, "canonical_url": "https://ross.abutalabs.com/products/awesomecache", "card": {"archived": false, "artifact_type": "library", "description": "Delightful on-disk cache (written in Swift)", "domain": ["mobile-development", "developer-tools"], "enriched": true, "function": ["caching", "file-system"], "health_score": 20, "homepage": null, "language": "Swift", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["aschuch/AwesomeCache"], "name": "aschuch/AwesomeCache", "platform": [], "pushed_at": "2021-08-11T10:19:24+00:00", "repo": "aschuch/AwesomeCache", "stars": 1266, "tags": ["disk-cache", "nscache", "cache-expiry", "thread-safe", "cocoapods", "carthage", "watchos", "tvos", "ios-tools", "ios", "mobile", "swift"], "topics": ["cache", "swift", "disk-cache", "expiry"], "urls": [], "use_cases": ["cache API responses on disk in an iOS app", "persistent disk cache for Swift objects with expiry", "store downloaded data locally with a TTL in Swift", "thread-safe in-memory plus disk cache for iOS", "cache-aside wrapper for async network calls in Swift"], "what_it_is": "AwesomeCache is a Swift library providing a thread-safe on-disk cache for Apple platforms, backed by NSCache for fast in-memory access with automatic disk persistence. It supports per-object expiry (by seconds or date), expired-object cleanup, and a cacheBlock helper for caching async API responses.", "when_to_avoid": ["You target non-Apple platforms such as Linux or Android, since it depends on NSCache and Apple frameworks", "You need an async or modern-Swift-first API, as the library was built around the Swift 3 era and its last release was in 2021", "You need large-scale or queryable storage, where a database or dedicated cache server is a better fit"], "when_to_choose": ["You are building an iOS, watchOS, or tvOS app in Swift and need simple persistent caching with per-object expiration", "You want NSCache-backed memory performance with disk persistence as a fallback", "You want a small, sync API to cache results of async tasks such as network requests"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/awesomecache", "repo": "aschuch/AwesomeCache", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.252614+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T05:03:46.177339+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d51a28139e659db73ef9ef6d8cb773151fddf4d1346e23769726cc7118c7d55", "fetched_at": "2026-08-28T04:04:11.252614+00:00", "kind": "readme", "missing": false, "url": "https://github.com/aschuch/AwesomeCache"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.252614+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T05:03:46.177339+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d51a28139e659db73ef9ef6d8cb773151fddf4d1346e23769726cc7118c7d55", "fetched_at": "2026-08-28T04:04:11.252614+00:00", "kind": "readme", "missing": false, "url": "https://github.com/aschuch/AwesomeCache"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T05:03:46.177339+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d51a28139e659db73ef9ef6d8cb773151fddf4d1346e23769726cc7118c7d55", "fetched_at": "2026-08-28T04:04:11.252614+00:00", "kind": "readme", "missing": false, "url": "https://github.com/aschuch/AwesomeCache"}], "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:04:11.252614+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.252614+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.252614+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T05:03:46.177339+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d51a28139e659db73ef9ef6d8cb773151fddf4d1346e23769726cc7118c7d55", "fetched_at": "2026-08-28T04:04:11.252614+00:00", "kind": "readme", "missing": false, "url": "https://github.com/aschuch/AwesomeCache"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.252614+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.252614+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T05:03:46.177339+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d51a28139e659db73ef9ef6d8cb773151fddf4d1346e23769726cc7118c7d55", "fetched_at": "2026-08-28T04:04:11.252614+00:00", "kind": "readme", "missing": false, "url": "https://github.com/aschuch/AwesomeCache"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.252614+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.252614+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.252614+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T05:03:46.177339+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d51a28139e659db73ef9ef6d8cb773151fddf4d1346e23769726cc7118c7d55", "fetched_at": "2026-08-28T04:04:11.252614+00:00", "kind": "readme", "missing": false, "url": "https://github.com/aschuch/AwesomeCache"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.252614+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.252614+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T05:03:46.177339+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d51a28139e659db73ef9ef6d8cb773151fddf4d1346e23769726cc7118c7d55", "fetched_at": "2026-08-28T04:04:11.252614+00:00", "kind": "readme", "missing": false, "url": "https://github.com/aschuch/AwesomeCache"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T05:03:46.177339+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d51a28139e659db73ef9ef6d8cb773151fddf4d1346e23769726cc7118c7d55", "fetched_at": "2026-08-28T04:04:11.252614+00:00", "kind": "readme", "missing": false, "url": "https://github.com/aschuch/AwesomeCache"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T05:03:46.177339+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d51a28139e659db73ef9ef6d8cb773151fddf4d1346e23769726cc7118c7d55", "fetched_at": "2026-08-28T04:04:11.252614+00:00", "kind": "readme", "missing": false, "url": "https://github.com/aschuch/AwesomeCache"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T05:03:46.177339+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d51a28139e659db73ef9ef6d8cb773151fddf4d1346e23769726cc7118c7d55", "fetched_at": "2026-08-28T04:04:11.252614+00:00", "kind": "readme", "missing": false, "url": "https://github.com/aschuch/AwesomeCache"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "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": 4435, "days_push": 1848, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}