1
0
mirror of https://github.com/django/django.git synced 2025-10-25 06:36:07 +00:00

[1.2.X] Fixed #13283 -- Corrected CACHE_MIDDLEWARE_ANONYMOUS_ONLY's bad habit of setting Vary: Cookie on all responses and destroying cache efficiency. Thanks to natrius for the fix.

Backport of r15381 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Carl Meyer
2011-02-01 00:31:34 +00:00
parent 432ff76035
commit cda07b4cfa
5 changed files with 57 additions and 11 deletions

5
tests/regressiontests/cache/urls.py vendored Normal file
View File

@@ -0,0 +1,5 @@
from django.conf.urls.defaults import patterns
urlpatterns = patterns('regressiontests.cache.views',
(r'^$', 'home'),
)