Azure Website slow to serve static JS/CSS but not binary

前端 未结 3 2066
旧时难觅i
旧时难觅i 2020-12-08 06:49

I have an Azure Website/Web App that is incredibly slow to serve static JS and CSS files but seems perfectly fine serving binary.

To test the problem I uploaded two

3条回答
  •  不思量自难忘°
    2020-12-08 07:21

    We had this issue, and was able to resolve this with the help of Azure Support Team. The issue was that the slow files would use TransferEncoding: Chuncked. They suggested that we force static compression to get around this issue.

    We had to add the following to :

    
    

提交回复
热议问题