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

Doesn't set any headers to gzip static response #14

Closed XanderSpecter closed 5 years ago

XanderSpecter commented 5 years ago

Hi. I try using your package to get gziped js and css files. image I use webpack to gzip files in wwwroot folder. So, when I try to load page, browser takes static gzip files without any extra headers and can't use this files as styles and scripts. image

Have I done something wrong? I can't understand this :(