#36560: When the Cache-Control header is set to no-store, the response is 
cached.
-------------------------------------+-------------------------------------
     Reporter:  mengxunQAQ           |                     Type:  Bug
       Status:  new                  |                Component:  Core
                                     |  (Cache system)
      Version:  5.2                  |                 Severity:  Normal
     Keywords:  cache                |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 {{{
 from django.http import HttpResponse
 import datetime

 def cache_demo(request):
     resp = HttpResponse(f"Current content at {datetime.datetime.now()}")
     resp["Cache-Control"] = "no-store"
     return resp

 }}}
 Based on the example above, when the Cache-Control header is set to no-
 store, the response content is still cached.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36560>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070198c1907f91-127108dd-629f-455f-b032-d2e45907e0de-000000%40eu-central-1.amazonses.com.

Reply via email to