[Fixed]-How to disable cache for development in django?

30👍

You can use django dummy caching for development:

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
   }
}

https://docs.djangoproject.com/en/dev/topics/cache/?from=olddocs/#dummy-caching-for-development

👤pahko

0👍

It can be a problem to make sure your media files, including your stylesheets, are never cached. Here is one way that works for me:

http://lee-phillips.org/djangoStatic/

Leave a comment