问题描述: Python manage.py runserver ,禁用缓存,及时修改反馈到浏览器

解决办法:

使用dummy cache:

Dummy caching (for development)

Finally, Django comes with a “dummy” cache that doesn’t actually cache – it just implements the cache interface without doing anything.

This is useful if you have a production site that uses heavy-duty caching in various places but a development/test environment where you don’t want to cache and don’t want to have to change your code to special-case the latter. To activate dummy caching, set BACKEND like so:

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

另外,chrome浏览器也需要设置,F12打开devtools,在network 标签下勾选 禁用缓存!
或者,使用插件:https://chrome.google.com/webstore/detail/jpfbieopdmepaolggioebjmedmclkbap

http://stackoverflow.com/questions/5690269/disabling-chrome-cache-for-website-development