django-cachalot
django-cache-machine
django-cachalot | django-cache-machine | |
---|---|---|
1 | 1 | |
1,162 | 867 | |
0.8% | 0.0% | |
5.3 | 0.0 | |
4 months ago | about 1 year ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
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.
django-cachalot
-
Easiest way to add write-through cache for auth_user queries?
Particularly I use django-cachalot, as it's easy to use and very feature complete for my use cases: https://github.com/noripyt/django-cachalot
django-cache-machine
-
Easiest way to add write-through cache for auth_user queries?
There's also django-cache-machine if you'd like to do model caching on a more general level. It sounds promising, but I haven't used it, so can't speak to its capabilities.
What are some alternatives?
django-cached_authentication_middleware - A drop in replacement for django's built in AuthenticationMiddleware that utilizes caching.
django-cacheops - A slick ORM cache with automatic granular event-driven invalidation.
django-qsessions - Extended session backends for Django (Sessions store IP, User Agent, and foreign key to User)
johnny-cache - johnny cache django caching framework
django-lrucache-backend - A local in-memory cache backend for Django
dogpile.cache
django_model_cached_property - Django model cached property is useful for caching of property results for more time than lifetime of object during the request
DiskCache - Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python.
HermesCache
cashier - Persistent caching for python functions
python-diskcache - Persistent dict, backed by sqlite3 and pickle, multithread-safe.