diff options
Diffstat (limited to 'docs')
| -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 432f5437ff..d007d252f5 100644 --- a/docs/ref/middleware.txt +++ b/docs/ref/middleware.txt @@ -155,6 +155,9 @@ It will NOT compress content if any of the following are true: * The request (the browser) hasn't sent an ``Accept-Encoding`` header containing ``gzip``. +If the response has an ``ETag`` header, the ETag is made weak to comply with +:rfc:`7232#section-2.1`. + You can apply GZip compression to individual views using the :func:`~django.views.decorators.gzip.gzip_page()` decorator. |
