{"id":13708341,"url":"https://github.com/codeinthehole/django-cacheback","last_synced_at":"2025-10-24T05:27:59.501Z","repository":{"id":4108313,"uuid":"5217936","full_name":"codeinthehole/django-cacheback","owner":"codeinthehole","description":"Smart caching for Django using Celery to refresh cached items asynchronously.  ","archived":false,"fork":false,"pushed_at":"2024-07-19T09:15:27.000Z","size":620,"stargazers_count":376,"open_issues_count":7,"forks_count":76,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-18T02:04:12.135Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://codeinthehole.com/writing/cacheback-asynchronous-cache-refreshing-for-django/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeinthehole.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"docs/contributing.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-07-28T21:39:30.000Z","updated_at":"2025-03-20T12:50:52.000Z","dependencies_parsed_at":"2023-07-06T08:01:56.543Z","dependency_job_id":null,"html_url":"https://github.com/codeinthehole/django-cacheback","commit_stats":{"total_commits":294,"total_committers":33,"mean_commits":8.909090909090908,"dds":0.6020408163265306,"last_synced_commit":"90c425b41ad3b7d3e4f81b990d40acf4c6c2b66f"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeinthehole%2Fdjango-cacheback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeinthehole%2Fdjango-cacheback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeinthehole%2Fdjango-cacheback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeinthehole%2Fdjango-cacheback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeinthehole","download_url":"https://codeload.github.com/codeinthehole/django-cacheback/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252693465,"owners_count":21789693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T23:00:20.818Z","updated_at":"2025-10-24T05:27:59.421Z","avatar_url":"https://github.com/codeinthehole.png","language":"Python","funding_links":[],"categories":["Caching","Python"],"sub_categories":["Tools"],"readme":"=========\nCacheback\n=========\n\n----------------------------------------\nAsynchronous cache refreshing for Django\n----------------------------------------\n\nWhat does this library do?\n--------------------------\n\nIt's an extensible caching library that refreshes stale cache items\nasynchronously using a Celery_ or rq_ task (utilizing django-rq). The key\nidea being that it's better to serve a stale item (and populate the cache\nasynchronously) than block the response process in order to populate the cache\nsynchronously.\n\n.. _Celery: http://celeryproject.org/\n.. _rq: http://python-rq.org/\n\nUsing this library, you can rework your views so that all reads are from\ncache - which can be a significant performance boost.\n\nA corollary of this technique is that cache hammering can be handled simply and\nelegantly, avoiding sudden surges of expensive reads when a cached item becomes stale.\n\n\nDo you have good docs?\n----------------------\n\nYup - `over on readthedocs.org`_.\n\n.. _`over on readthedocs.org`: http://django-cacheback.readthedocs.org/en/latest/\n\n\nSupported versions\n------------------\n\nPython 3.6+ is supported. Django 2.2+ is supported.\n\n\nDo you have tests?\n------------------\n\nYou betcha!\n\n.. image:: https://github.com/codeinthehole/django-cacheback/workflows/CI/badge.svg?branch=master\n     :target: https://github.com/codeinthehole/django-cacheback/actions?workflow=CI\n     :alt: CI Status\n\n\nCan I use this in my project?\n-----------------------------\n\nProbably - subject to the `MIT license`_.\n\n.. _`MIT license`: https://github.com/codeinthehole/django-cacheback/blob/master/LICENSE\n\n\nI want to contribute!\n---------------------\n\nBrilliant!  Here are the `contributing guidelines`_.\n\n.. _`contributing guidelines`: http://django-cacheback.readthedocs.org/en/latest/contributing.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeinthehole%2Fdjango-cacheback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeinthehole%2Fdjango-cacheback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeinthehole%2Fdjango-cacheback/lists"}