Skip to content

Repository files navigation

Build statusNuGet versionGitHub license

Ensure that you are using the Kestrel server without the IIS Integration. Place app.UseCompressedStaticFiles(); before app.UseStaticFiles(); in Startup.Configure().

This will ensure that you application will serve pre compressed gzipped(filename.ext.gz) and brotli(filename.ext.br) compressed files if the browser supports it.

Checkout the example for setup.

This solution is based on @neyromant from the following issue dotnet/aspnetcore#1584 (comment).

About

asp.net middelware for Kestrel to serve precompressed static files

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages