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

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.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Carl Meyer
2011-02-01 00:20:31 +00:00
parent 0bf5fbfa76
commit 00fda7f45d
5 changed files with 54 additions and 12 deletions

4
tests/regressiontests/cache/views.py vendored Normal file
View File

@@ -0,0 +1,4 @@
from django.http import HttpResponse
def home(request):
return HttpResponse('Hello World!')