{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/5"}],"enrichment":{"capability":"Automatically caches Django ORM queries and invalidates them when data changes, reducing database load for read-heavy applications.","skillfed_tags":["django-orm","query-caching","performance"],"use_cases":["Reduce database load in read-heavy applications by caching frequently-accessed ORM query results automatically.","Speed up initial page loads and API responses by caching the results of select_related and prefetch_related queries.","Simplify cache management in Django projects by eliminating manual cache key creation and invalidation logic.","Improve performance for applications with stable query patterns and infrequent data modifications.","Debug caching behavior in Django admin and development tools via the optional django-debug-toolbar integration."],"what_it_does":"Django Cachalot is a caching layer that sits between your Django ORM and the database, automatically caching query results and invalidating them when the underlying data changes. It works by intercepting ORM queries, storing results in your configured cache backend, and clearing cached entries when INSERT, UPDATE, or DELETE operations occur. The package handles the complexity of cache invalidation automatically, so you don't have to manually manage cache keys.\n\nThe package is designed for read-heavy workloads where query patterns are relatively stable. It caches entire table results, which makes it efficient for cold caches or tables with fewer than 50 modifications per minute. For rapidly-changing data, cache invalidation overhead can become significant since the entire table cache is cleared on any write. It integrates directly into Django's ORM without requiring code changes to your queries\u2014just add it to INSTALLED_APPS and configure your cache backend.","worth_installing":"Yes, if your Django application is read-heavy with stable query patterns and fewer than 50 modifications per minute on cached tables. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe choice. Skip it if your workload involves frequent writes to large tables, as cache invalidation overhead will outweigh the benefit."},"id":"django-cachalot","links":{"html":"https://skillfed.io/packages/django-cachalot","md":"https://skillfed.io/packages/django-cachalot.md","pypi":"https://pypi.org/project/django-cachalot/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-10","license_spdx":null,"license_treatment":"permissive","name":"django-cachalot","python_support":"unspecified","summary":"Caches your Django ORM queries and automatically invalidates them."},"popularity":{"monthly_downloads":263609,"position":8352,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.9.1"}
