关于[ASP.NET Core response compression]的摘要:
ASP.NET Core supports response compression. From popular algorithms gzip and Brotli are supported. Those who like can also implement their own response compression providers. This blog post shows how to response compression works in ASP.NET Core. With ASP.NET Core we have three options for compression: ASP.NET Core does compression Front-end web server does compression Static files are precompressed We can skip second and third option here because we are interested in how ASP.NET Core carries out response compression. Those who don’t use Microsoft.AspNetCore.App metapackage must add reference to Microsoft.AspNetCore.ResponseCompression NuGet package to enable response compression.
原文地址: https://gunnarpeipman.com/aspnet/aspnet-core-gzip-brotli/