django-cached_authentication_middleware
django-cache-machine
django-cached_authentication_middleware | django-cache-machine | |
---|---|---|
1 | 1 | |
32 | 867 | |
- | 0.0% | |
10.0 | 0.0 | |
about 7 years ago | about 1 year ago | |
Python | Python | |
MIT 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-cached_authentication_middleware
-
Easiest way to add write-through cache for auth_user queries?
I found this which basically does that, but for an incredibly old Django version, but it can serve as a starting point for your own middleware.
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-cachalot - No effort, no worry, maximum performance.
django-cacheops - A slick ORM cache with automatic granular event-driven invalidation.
johnny-cache - johnny cache django caching framework
dogpile.cache
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.
django-viewlet - Render template parts with extended cache control.
Beaker - WSGI middleware for sessions and caching
Cachier - Persistent, stale-free, local and cross-machine caching for Python functions.
pylibmc - A Python wrapper around the libmemcached interface from TangentOrg.