diff options
Diffstat (limited to 'docs/ref/middleware.txt')
| -rw-r--r-- | docs/ref/middleware.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt index 2625155dd9..cb90684847 100644 --- a/docs/ref/middleware.txt +++ b/docs/ref/middleware.txt @@ -98,6 +98,9 @@ compress content bodies less than 200 bytes long, when the response code is something other than 200, JavaScript files (for IE compatibility), or responses that have the ``Content-Encoding`` header already specified. +GZip compression can be applied to individual views using the +:func:`~django.views.decorators.http.gzip_page()` decorator. + Conditional GET middleware -------------------------- |
