Open rtpm opened 9 years ago
Would be nice if we could exclude some parts of cached template content .. from caching.
{% cached_as ... %} some cached content {% nocache %} some content that we do not want cached {% endnocache %} Continuation of cached content {% endcached_as %}
There's a project : https://github.com/twidi/django-adv-cache-tag/tree/master/adv_cache_tag
which has this functionality.
This could be useful, but I don't have time to implement it now, so I'll postpone it. I will review and accept any pull requests toward this though.
Would be nice if we could exclude some parts of cached template content .. from caching.
{% cached_as ... %} some cached content {% nocache %} some content that we do not want cached {% endnocache %} Continuation of cached content {% endcached_as %}
There's a project : https://github.com/twidi/django-adv-cache-tag/tree/master/adv_cache_tag
which has this functionality.