[1.4.X] Fixed #18473 - Fixed a suggestion that GZipMiddleware needs to be first in the list of middleware.
Backport of 3e0857041b from master
This commit is contained in:
parent
33d11463a0
commit
73991b0b32
@ -93,8 +93,8 @@ GZip middleware
|
|||||||
Compresses content for browsers that understand GZip compression (all modern
|
Compresses content for browsers that understand GZip compression (all modern
|
||||||
browsers).
|
browsers).
|
||||||
|
|
||||||
It is suggested to place this first in the middleware list, so that the
|
This middleware should be placed before any other middleware that need to
|
||||||
compression of the response content is the last thing that happens.
|
read or write the response body so that compression happens afterward.
|
||||||
|
|
||||||
It will NOT compress content if any of the following are true:
|
It will NOT compress content if any of the following are true:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user