# TumblrArchive/TMCache

Fast parallel object cache for iOS and OS X.

Repository: https://github.com/TumblrArchive/TMCache
Canonical: https://ross.abutalabs.com/products/tmcache
Language: Objective-C
License: Apache-2.0
License Family: permissive
Last push: 2018-09-27T21:42:41+00:00

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

## Adoption (not part of the score)
Stars 3023, forks 371 (observed 2026-08-28T04:07:38.554954+00:00)

## What it is
TMCache is a fast parallel key/value object cache for iOS and OS X, combining an in-memory cache (TMMemoryCache) with an on-disk cache (TMDiskCache), both backed by GCD and thread-safe. It is designed for persisting temporary objects that are expensive to reproduce, such as downloaded images or slow processing results.

## Use cases
- cache downloaded images in an iOS app
- persist expensive computation results on disk
- add a thread-safe in-memory cache to an Objective-C app
- automatically clear cached objects on iOS memory warnings
- limit disk cache size by bytes or age
- cache objects shared across multiple threads

## When to choose
- you maintain a legacy Objective-C iOS or OS X codebase already using TMCache
- you need a simple NSCoding-based two-tier memory and disk cache with GCD-backed thread safety

## When to avoid
- you are starting a new project - the library is no longer actively maintained
- you need Swift-native caching or modern async/await APIs
- you need cross-platform support beyond Apple platforms

## Facets
- artifact type: library
- maturity: abandoned
- function: caching, concurrency
- domain: mobile-development, developer-tools, performance
- platform: cpp
- tags: objective-c, memory-cache, disk-cache, gcd, nscoding, key-value-store, ios, macos, swift

## Member repositories
- TumblrArchive/TMCache (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:38.554954+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-29T18:46:53.200030+00:00, confidence not recorded.
  - readme: https://github.com/TumblrArchive/TMCache (fetched 2026-08-28T04:07:38.554954+00:00, sha da32dc930b2c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
