# TMCache

> Tumblr's parallel memory and disk object cache for iOS and OS X, no longer maintained

Source: https://talira.ai/catalog/tmcache-1gs9qq7h
Every listing: https://talira.ai/catalog.md

Status: TMCache's makers archived or ended it on 12 May 2015. Tumblr's README says TMCache is no longer being actively maintained; Pinterest's fork PINCache carries it on. Source: https://github.com/TumblrArchive/TMCache/blob/master/README.md

- Kind: Open source
- Types: Library
- Categories: [libraries / caching](https://talira.ai/categories/libraries/caching), [languages / objective c](https://talira.ai/categories/languages/objective-c)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Tumblr](https://talira.ai/orgs/tumblr.md)

TMCache is Tumblr's key/value object cache for iOS and OS X, for keeping temporary objects that are expensive to make again, such as downloaded data or the results of slow processing. It pairs an in-memory store (`TMMemoryCache`) with an on-disk one (`TMDiskCache`), both backed by GCD and safe to use from several threads at once. The memory cache clears itself on a memory warning or when the app goes into the background, and the disk cache keeps objects until you trim it by hand or with a byte or age limit. It stores any `NSCoding` object. Tumblr stopped maintaining it in May 2015; [PINCache](https://talira.ai/catalog/pincache-9y363rtt.md), Pinterest's fork of it, is the maintained successor.

## Links

- GitHub: https://github.com/TumblrArchive/TMCache

## Problems it solves

- the object cache library in my old Objective-C app is unmaintained and I need to know what replaced it
- cache downloaded images on disk and in memory in an old iOS app
- a thread-safe object cache for an Objective-C project that clears itself on memory warnings

## Features

- paired memory and disk caches, safe from several threads
- memory cache clears on memory warnings and backgrounding
- disk cache trimmed by byte or age limits
- stores any NSCoding object

## Trust

Overall: 0.08 out of 1.
Signals: maintenance 0.00, adoption 0.70, momentum 0.39, community 0.48, backing 0.30, extensibility 0.00.

- latest release 2.1.0 11.6 years ago
- 3.0k GitHub stars
- 15 contributors
- backed by Tumblr

Warnings:

- archived by its makers since 12 May 2015
- last commit 11.6 years ago

## Forks

- [PINCache](https://talira.ai/catalog/pincache-9y363rtt.md): Fast, thread-safe memory and disk object cache for Apple platforms. Its own project.

## Alternatives

- [PINCache](https://talira.ai/catalog/pincache-9y363rtt.md): Fast, thread-safe memory and disk object cache for Apple platforms

## Sources

[^1]: https://github.com/TumblrArchive/TMCache/blob/master/LICENSE.txt (checked 28 Nov 2026)
