GZIP in .net core not working

后端 未结 7 980
不思量自难忘°
不思量自难忘° 2021-02-03 22:38

I\'m attempting to add Gzip middleware to my ASP.net core app.

I have added the following package :

\"Microsoft.AspNetCore.ResponseCompression\"

7条回答
  •  醉梦人生
    2021-02-03 22:50

    By placing the UseResponseCompression twice under each other I managed to make it work. I have no idea how this made it work. I am still looking for an accepted solution.

提交回复
热议问题