Closed agustins closed 6 years ago
User agent should not be a factor here. What happens if you don't use UseSpaStaticFiles?
Removing UseSpaStaticFiles the behaviour is the same. I don't know why, but removing "AppleWebKit/537.36 (KHTML, like Gecko)" from User-Agent, works.
Closing this. @agustins please let us know if you have a network trace that you can share.
I have an Angular application using the new template from net core sdk 2.1.
With this configuration:
if the User-Agent header is present in the header, content is not compressed:
Removing User-Agent header, response is compressed: