DiskCache VS pylibmc

Compare DiskCache vs pylibmc and see what are their differences.


Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python. (by grantjenks)


A Python wrapper around the libmemcached interface from TangentOrg. (by lericson)
Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Sonar - Write Clean Python Code. Always.
  • Mergify - Updating dependencies is time-consuming.
DiskCache pylibmc
5 2
1,853 472
- -
0.0 0.0
26 days ago about 1 month ago
Python C
GNU General Public License v3.0 or later BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of DiskCache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-14.


Posts with mentions or reviews of pylibmc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-11.
  • Memcached on Heroku w/ Django : can't install pylibmc / memcacheify
    3 projects | /r/codehunter | 11 Apr 2022
    I've spent a lot of time on this and it's clearly beyond my newbie understanding/skills. I tried to install django-heroku-memcacheify with pip install, which throws errors. I tracked the problem down to pylibmc, which is causing all the problems. Here's one of the interesting parts of the error log:

What are some alternatives?

When comparing DiskCache and pylibmc you can also consider the following projects:

Beaker - WSGI middleware for sessions and caching

cachetools - Extensible memoizing collections and decorators

flask-cache-redis - :fire: Implementation of API Caching with Flask, Redis and Docker

python-diskcache - Persistent dict, backed by sqlite3 and pickle, multithread-safe.



cashier - Persistent caching for python functions

Cachier - Persistent, stale-free, local and cross-machine caching for Python functions.

django-cache-machine - Automatic caching and invalidation for Django models through the ORM.

django-cacheops - A slick ORM cache with automatic granular event-driven invalidation.