1 2 3 4 5 6 7
6598d9f7378e 6598d9f7378e 6598d9f7378e 6598d9f7378e 6598d9f7378e 6598d9f7378e 6598d9f7378e
from django.utils.cache import add_never_cache_headers class DisableClientSideCachingMiddleware(object): def process_response(self, request, response): add_never_cache_headers(response) return response