Home » Microsoft » 70-486 v.2 » What should you do?
You are developing an ASP.NET application.
You need to minimize the amount of data in all HTTP responses.
What should you do?
A. Minify the content files.
B. Enable compression in IIS.
C. Host the image, JavaScript, and CSS files on Microsoft Azure Storage.
D. Bundle the content files.
Correct Answer: B
Explanation/Reference:
Network bandwidth is a limited resource. Reducing the size of the response usually increases the responsiveness of an app, often dramatically. One way to reduce payload sizes is to compress an app’s responses. Use server-based response compression technologies in IIS, Apache, or Nginx.
References: https://docs.microsoft.com/en-us/aspnet/core/performance/response-compression?tabs=aspnetcore2x