Fixed #773 -- Removed reference to CACHE_MIDDLEWARE_GZIP in docs/cache.txt. Thanks, Eugene

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-11-12 18:17:22 +00:00
parent a70c04d83b
commit b2e05910ed
1 changed files with 0 additions and 6 deletions

View File

@ -101,12 +101,6 @@ Then, add the following three required settings to your Django settings file:
sites using the same Django installation, set this to the name of 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.
* ``CACHE_MIDDLEWARE_GZIP`` -- Either ``True`` or ``False``. If this is
enabled, Django will gzip all content for users whose browsers support gzip
encoding. Using gzip adds a level of overhead to page requests, but the
overhead generally is cancelled out by the fact that gzipped pages are stored
in the cache. That means subsequent requests won't have the overhead of
zipping, and the cache will hold more pages because each one is smaller.
The cache middleware caches every page that doesn't have GET or POST
parameters. Additionally, ``CacheMiddleware`` automatically sets a few headers