diff --git a/aspnetcore/performance/response-compression.md b/aspnetcore/performance/response-compression.md index 01a0a70d4d..e95374d415 100644 --- a/aspnetcore/performance/response-compression.md +++ b/aspnetcore/performance/response-compression.md @@ -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 . * 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.