Django-debug-toolbar: Fragment caching not working when django debug toolbar is enabled.

Created on 14 Sep 2016  路  6Comments  路  Source: jazzband/django-debug-toolbar

When working in Django 1.10 or 1.10.1 fragment caching is not working with Django Debug Toolbar enabled. View caching and ImageKit caching work fine though.

Most helpful comment

For me caching works fine (I checked it from memcached side), but cache panel of django-debug-toolbar doesn't show any calls.

All 6 comments

I'm not sure what you mean by fragment caching. Are you saying that we break the {% cache %} template tag in some way?

Yes, exactly. With the toolbar enabled elements within the {% cache %} {% endcache %} tags are not cached in my backend (memcached). With the toolbar disabled everything is cached as expected.

Is there any information I can provide to help debug this incident? I would like to help resolve it if possible.

For me caching works fine (I checked it from memcached side), but cache panel of django-debug-toolbar doesn't show any calls.

I have same issue, cache works correctly but django-debug-toolbar does not show any calls.

This is the same as #799 , caches needs to be monkey-patched in django.templatetags.cache

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gosrinin picture gosrinin  路  8Comments

JoshBradshaw picture JoshBradshaw  路  6Comments

stfenjobs picture stfenjobs  路  6Comments

lfigueira picture lfigueira  路  10Comments

Arlington1985 picture Arlington1985  路  5Comments