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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • 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

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • 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.

  • 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

  • Python deserves a good in-memory cache library!

    7 projects | /r/Python | 8 Feb 2023
  • FusionCache: A Net Cache Implementation

    1 project | news.ycombinator.com | 23 Jun 2024
  • FusionCache Is Now v1.0

    1 project | news.ycombinator.com | 17 Mar 2024
  • Otter, Fastest Go in-memory cache based on S3-FIFO algorithm

    16 projects | news.ycombinator.com | 23 Dec 2023
  • Caching as a cross cutting concern using MediatR's pipeline behavior

    1 project | /r/dotnet | 6 Dec 2023

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