#5691: Add the active language to generate the cache key
-------------------------------------+--------------------------------------
          Reporter:  [EMAIL PROTECTED]  |         Owner:  nobody    
            Status:  new             |     Milestone:            
         Component:  Cache system    |       Version:  SVN       
        Resolution:                  |      Keywords:  cache i18n
             Stage:  Accepted        |     Has_patch:  1         
        Needs_docs:  1               |   Needs_tests:  1         
Needs_better_patch:  1               |  
-------------------------------------+--------------------------------------
Changes (by andrewbadr):

  * owner:  andrewbadr => nobody

Comment:

 This patch works against trunk and checks the USE_I18N setting. However,
 this patch is current blocked by #730. Incoming requests need to use the
 Session middleware, then Locale, then Cache, so that the language is
 determined by the time we hit the cache middleware. However, outgoing
 responses need Session before Cache as well so that the cookie-based Vary
 headers can be set.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5691#comment:5>
Django Code <http://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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to