#9249: Google Analytics' Cookies break CacheMiddleware when SessionMiddleware
turns on Vary: Cookie
-------------------------------+------------------------------------
     Reporter:  pixelcort      |                    Owner:  vvd
         Type:  New feature    |                   Status:  assigned
    Component:  HTTP handling  |                  Version:  1.0
     Severity:  Normal         |               Resolution:
     Keywords:  cache cookies  |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  1
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by anonymous):

 Instead of listing individual cookies explicitly, I feel it would be
 better to have Django keep a record on whether or not a cookie was been
 accessed.  This can be done in similar fashion as to how Django currently
 checks whether or not the session was accessed.

 Benefits:
 - This would work without any configuration. Any additional cookies set by
 whatever frontend Javascript code that are not used by Django views would
 automatically be ignored.
 - No new setting & accompanying documentation

-- 
Ticket URL: <https://code.djangoproject.com/ticket/9249#comment:7>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to