Owin.Compression

Compression (Deflate / GZip) module for Microsoft OWIN self host web server. With this module you can compress, deflate / gzip large files (like concatenated *.js or *.css files) to reduce amount of web traffic.


Keywords
API, ASP.NET, Core, Deflate, GZip, Kestrel, Microsoft ASPNET, OWIN, SelfHost, Web, compress, file, host, pack, pipeline, self, system, aspnet-core, aspnetcore, compression, etag, middleware, request, speedup, webserver
License
Unlicense
Install
Install-Package Owin.Compression -Version 1.0.44

Documentation

Owin.Compression

Compression (Deflate / GZip) module for Microsoft OWIN Selfhost filesystem pipeline. Can be used also with AspNetCore e.g. with .NET6.0 and Kestrel.

With this module you can compress, deflate / gzip large files (like concatenated *.js or *.css files) to reduce amount of web traffic. Supports eTag caching: If client sent hashcode match, sends 302 instead of re-sending the same content.

This project works on C# and F# and should work on Windows and Mono as well.

Here is a demo in action from Fiddler net traffic monitor:

compressed

Read the Getting started tutorial to learn more.

Documentation: https://thorium.github.io/Owin.Compression