AnderssonPeter / CompressedStaticFiles

asp.net core middleware to send compressed static files to the browser without having to compress on demand, also has support for sending more advanced image formats when the browser indicates that i has support for it.
Apache License 2.0
88 stars 18 forks source link

Cannot serve brotli when using IIS Integration #4

Closed nrandell closed 8 years ago

nrandell commented 8 years ago

I've just had issues trying to use this when running inside Azure. I had some brotli files and they would not get served.

I've tracked the issue down to missing content types. Pull request coming up.

I also noticed that you don't need to do app.UseStaticFiles() either. The compressed static files uses these by default.

AnderssonPeter commented 8 years ago

i have merged and published the nuget package, but i have no way to verify that it solved your issue or created any other issues.