Changes between Initial Version and Version 1 of Ticket #36560
- Timestamp:
- Aug 19, 2025, 4:16:33 AM (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36560 – Description
initial v1 1 **settings.py** 2 {{{ 3 ... 4 MIDDLEWARE = [ 5 "django.middleware.cache.UpdateCacheMiddleware", 6 "django.middleware.common.CommonMiddleware", 7 "django.middleware.cache.FetchFromCacheMiddleware", 8 ] 9 ... 10 }}} 11 12 **views.py** 1 13 {{{ 2 14 from django.http import HttpResponse … … 9 21 10 22 }}} 23 11 24 Based on the example above, when the Cache-Control header is set to no-store, the response content is still cached.