Skip to content
Focused HTTP Response Compression Libraries
C# HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Common
HttpResponseCompression.Owin.Tests
Owin.Website
Owin
WebApi
packages
.gitignore
HttpResponseCompression.sln
Icon.png
LICENSE.md
README.md

README.md

HttpResponseCompression

Nuget Packages

Cireson.HttpResponseCompression.Owin

NuGet

###Cireson.HttpResponseCompression.WebApi NuGet

Credits

First off the Web API implementation is copied, and tweaked, from fabrik and Ben Foster

Intent

We wanted a smaller library that brought in only the code needed to meet the requirement. In this case we are focusing on HTTP response compression only.

OWIN

The OWIN implementation will compress the static files easily by configuring your app.

app.UseResponseCompressingMiddleware()

Web API

The Web API implementation will compress all responses by configuring Web API's Message Handlers. The first handler is executed last.

config.MessageHandlers.Insert(0, new CompressionHandler());
You can’t perform that action at this time.