https://github.com/thorium/owin.compression
Compression (Deflate / GZip) module for Microsoft OWIN filesystem pipeline. Works with Selfhost and also on AspNetCore.
https://github.com/thorium/owin.compression
aspnet-core aspnetcore compress compression deflate etag gzip kestrel middleware owin pipeline request speedup webserver
Last synced: 6 months ago
JSON representation
Compression (Deflate / GZip) module for Microsoft OWIN filesystem pipeline. Works with Selfhost and also on AspNetCore.
- Host: GitHub
- URL: https://github.com/thorium/owin.compression
- Owner: Thorium
- License: unlicense
- Created: 2015-12-10T23:58:20.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2025-01-15T12:01:03.000Z (9 months ago)
- Last Synced: 2025-04-15T05:53:18.504Z (6 months ago)
- Topics: aspnet-core, aspnetcore, compress, compression, deflate, etag, gzip, kestrel, middleware, owin, pipeline, request, speedup, webserver
- Language: F#
- Homepage: https://Thorium.github.io/Owin.Compression/
- Size: 585 KB
- Stars: 24
- Watchers: 7
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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.It also supports streaming responses. The config allows you to disable deflate and streaming if you prefer.
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:

Read the [Getting started tutorial](https://thorium.github.io/Owin.Compression/index.html#Getting-started) to learn more.
Documentation: https://thorium.github.io/Owin.Compression