Aug 30, 2023diskcache is an apache2 licensed disk and file backed cache library, written in pure-python, and compatible with django. The core of diskcache is diskcache.cache which represents a disk and file backed cache. Diskcache is a python library that provides a dictionary-like interface backed by sqlite, allowing you to cache data that survives process restarts.
Oct 19, 2025if you mix the two, you get diskcache, a python local key/value store that can act like a small local subset of redis. Enter diskcache, an apache2 licensed, pure-python library designed to provide a robust disk and file-backed caching solution that challenges the traditional dominance of in-memory caches like redis. Nov 16, 2025diskcache is disk cache -- disk and file backed persistent cache..
Feb 28, 2025diskcache is a versatile library that goes far beyond basic in-memory caching. Mar 26, 2025why use diskcache? Diskcache is a fast and easy-to-use caching library for python that stores data on disk — so your cache persists even after your program stops.
Tag value can be int, float, string, bytes or none. Diskcache is an apache2 licensed disk and file backed cache library, written in pure-python, and compatible with django.