diff options
| author | Tim Graham <timograham@gmail.com> | 2012-10-17 07:03:40 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-10-17 15:48:47 -0400 |
| commit | 73991b0b325f07fc62179c3684ed921f141e69ce (patch) | |
| tree | 09e5152abcb89f4fe42684778e01685526e4968b /docs | |
| parent | 33d11463a0b9258ac0c72fd856b6d42512616e8d (diff) | |
[1.4.X] Fixed #18473 - Fixed a suggestion that GZipMiddleware needs to be first in the list of middleware.
Backport of 3e0857041b from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/middleware.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt index 60a376bd66..cb8f737ad2 100644 --- a/docs/ref/middleware.txt +++ b/docs/ref/middleware.txt @@ -93,8 +93,8 @@ GZip middleware Compresses content for browsers that understand GZip compression (all modern browsers). -It is suggested to place this first in the middleware list, so that the -compression of the response content is the last thing that happens. +This middleware should be placed before any other middleware that need to +read or write the response body so that compression happens afterward. It will NOT compress content if any of the following are true: |
