Update text (#16661)
parent
23c763fc4b
commit
4477680f93
|
@ -5,7 +5,7 @@ description: Learn about response compression and how to use Response Compressio
|
|||
monikerRange: '>= aspnetcore-2.1'
|
||||
ms.author: riande
|
||||
ms.custom: mvc
|
||||
ms.date: 12/05/2019
|
||||
ms.date: 01/22/2020
|
||||
uid: performance/response-compression
|
||||
---
|
||||
# Response compression in ASP.NET Core
|
||||
|
@ -133,7 +133,7 @@ public class Startup
|
|||
|
||||
Notes:
|
||||
|
||||
* `app.UseResponseCompression` must be called before `app.UseMvc`.
|
||||
* `app.UseResponseCompression` must be called before any middleware that compresses responses. For more information, see <xref:fundamentals/middleware/index#middleware-order>.
|
||||
* Use a tool such as [Fiddler](https://www.telerik.com/fiddler), [Firebug](https://getfirebug.com/), or [Postman](https://www.getpostman.com/) to set the `Accept-Encoding` request header and study the response headers, size, and body.
|
||||
|
||||
Submit a request to the sample app without the `Accept-Encoding` header and observe that the response is uncompressed. The `Content-Encoding` and `Vary` headers aren't present on the response.
|
||||
|
|
Loading…
Reference in New Issue