Easiest way to add write-through cache for auth_user queries?

This page summarizes the projects mentioned and recommended in the original post on /r/django

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. django-cachalot

    No effort, no worry, maximum performance.

    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

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. django-cached_authentication_middleware

    A drop in replacement for django's built in AuthenticationMiddleware that utilizes caching.

    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.

  4. django-cache-machine

    Automatic caching and invalidation for Django models through the ORM.

    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.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

Did you know that Python is
the 2nd most popular programming language
based on number of references?