Author: kmtracey
Date: 2011-11-12 12:30:03 -0800 (Sat, 12 Nov 2011)
New Revision: 17090

Modified:
   django/trunk/docs/topics/cache.txt
Log:
Fix #17119: Update cache doc to match current implementation, which does (since 
r15705) cache pages with GET parameters. Thanks Vanni, poirier, and 
calvinspealman.

Modified: django/trunk/docs/topics/cache.txt
===================================================================
--- django/trunk/docs/topics/cache.txt  2011-11-12 19:53:56 UTC (rev 17089)
+++ django/trunk/docs/topics/cache.txt  2011-11-12 20:30:03 UTC (rev 17090)
@@ -456,8 +456,10 @@
   the site, or some other string that is unique to this Django instance, to
   prevent key collisions. Use an empty string if you don't care.
 
-The cache middleware caches every page that doesn't have GET or POST
-parameters. Optionally, if the :setting:`CACHE_MIDDLEWARE_ANONYMOUS_ONLY`
+The cache middleware caches GET and HEAD responses with status 200, where the 
request
+and response headers allow. Responses to requests for the same URL with 
different
+query parameters are considered to be unique pages and are cached separately.
+Optionally, if the :setting:`CACHE_MIDDLEWARE_ANONYMOUS_ONLY`
 setting is ``True``, only anonymous requests (i.e., not those made by a
 logged-in user) will be cached. This is a simple and effective way of disabling
 caching for any user-specific pages (including Django's admin interface). Note

-- 
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