Long waiting (TTFB) time for scripts / styles on Azure Website

前端 未结 6 2399
小蘑菇
小蘑菇 2021-01-03 19:53

I have this intriguing problem on Azure Website. My website uses 4 script files and 3 style files, each minified. They are not so big, bigest has near 200 KBs. Website had a

6条回答
  •  渐次进展
    2021-01-03 20:15

    My guess would be Azures always on.
    If it works anything like the one CloudFlare provides, it essentially proxies the request and tries to cache it.
    Depending on the exact implementation of this cache on the side of Azure, it might wait for the scripts output to complete to cache it/validate the cache and then pass it on to the browser.

    You might have a chance checking the caching configuration and disable always on for your scripts if possible.

提交回复
热议问题