aschuch/AwesomeCache
Delightful on-disk cache (written in Swift) observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- 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: 4435
- days_rel: n/a
- days_push: 1848
- n_releases_24m: 0
Adoption not part of the score
1266 stars · 162 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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.
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
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
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
Facets
library · maturity maintenance
caching file-system mobile-development developer-tools disk-cache nscache cache-expiry thread-safe cocoapods carthage watchos tvos ios-tools ios mobile swift
1 source
- readme: https://github.com/aschuch/AwesomeCache · fetched 2026-08-28 · 2d51a28139e6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| aschuch/AwesomeCache | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="aschuch/AwesomeCache")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem