#18191: Don't consider Accept-Language when generating a cache key
-------------------------------------+------------------------------------
     Reporter:  choongmin@…          |                    Owner:  ambv
         Type:  New feature          |                   Status:  assigned
    Component:  Core (Cache system)  |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  cache vary i18n      |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  1
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+------------------------------------

Comment (by ambv):

 Pull request:
 - https://github.com/django/django/pull/851

 Remarks:
 - tested on both 2.7 and 3.3
 - http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.44 doesn't
 give any meaning to the order of headers listed in `Vary` so I sorted
 those headers while creating the cache key to make sure the number of
 combinations is the smallest possible

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18191#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to