Skip to content

Compression (Deflate / GZip) module for Microsoft OWIN filesystem pipeline. Works with Selfhost and also on AspNetCore.

License

Notifications You must be signed in to change notification settings

Thorium/Owin.Compression

Repository files navigation

Owin.Compression

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

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

This project works on C# and F# and should work on all .NET platforms, also on Windows, and even 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