This project has moved and is read-only. For the latest updates, please go here.

Microsoft.Owin.StaticFiles and deflate/gzip compression

Mar 7, 2016 at 5:35 PM
Edited Mar 7, 2016 at 5:36 PM

Microsoft.Owin.StaticFiles doesn't support deflate/gzip compression. StaticFiles are sent to the client in a way that it is not compatible to OWIN: You can't compress the sent file on-the-fly.

If you want to use deflate or gzip compression of your http-responses, you have to use something different than Microsoft.Owin.StaticFiles:
Could Microsoft.Owin.StaticFiles just adopt the source code from the first of the list as there is not much to do...?