Skip to content

Cireson/HttpResponseCompression

Repository files navigation

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());

About

Focused HTTP Response Compression Libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published