#32212: Vary header changed by SessionMiddleware
-------------------------------------+-------------------------------------
     Reporter:  y p                  |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  closed
    Component:  Uncategorized        |                  Version:  2.2
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  cache Vary           |             Triage Stage:
  SessionMiddleware                  |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 I'm afraid this is as-designed. It's just how session middleware works.
 See #3586 for the change implementing the current behaviour.

 If you need hard caching here then serve the "static" pages from a
 separate app, without Session middleware, and use JavaScript to load the
 user-specific sections.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32212#comment:2>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/066.46ce53c4b04f837e57f7aa839a8e8098%40djangoproject.com.

Reply via email to