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. 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