django-better-cache
django-better-cache copied to clipboard
{% cache %} should use CacheModel
This would allow an exposure of the template cache blocks that one could introspect, update, and invalidate outside the normal render workflow. If a cache block can be identified by a path to the template, a path of the nested block names, and the final inherited set of keys, a CacheModel can be automatically created using all those as keys.