I use memcached view caching for my production servers on some very computational and DB-configured views, for example:
urlpatterns = ('',
(r'^foo/(\d{1,2})/$', cache_page(60 * 15)(my_view)),
)
Is there a way to disable caching when DEBUG == True in Settings.py, so I don’t have to worry about cache files with cache being cached and can use my IDE debugger?
source
share