summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/cache.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/cache.txt b/docs/cache.txt
index 5efa2649ae..50cd3dcb0c 100644
--- a/docs/cache.txt
+++ b/docs/cache.txt
@@ -230,13 +230,13 @@ Then, add the following required settings to your Django settings file:
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 ``CACHE_MIDDLEWARE_ANONYMOUS_ONLY`` setting is
-``True``, only anonymous requests (i.e. those node made by a logged in user)
-will be cached. This is a simple and effective way of disabling caching on any
-user-specific content ( include Django's admin interface).
+parameters. Optionally, if the ``CACHE_MIDDLEWARE_ANONYMOUS_ONLY`` setting is
+``True``, only anonymous requests (i.e., those node made by a logged-in user)
+will be cached. This is a simple and effective way of disabling caching for any
+user-specific pages (include Django's admin interface).
-Additionally, ``CacheMiddleware`` automatically sets a few headers
-in each ``HttpResponse``:
+Additionally, ``CacheMiddleware`` automatically sets a few headers in each
+``HttpResponse``:
* Sets the ``Last-Modified`` header to the current date/time when a fresh
(uncached) version of the page is requested.