title: Long waiting (TTFB) time for scripts / styles on Azure Website
body: <p>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 already started. Azure's Always On option is turned on. When I call to WebApi for data it returns in &lt;50ms.</p>
  
  <p><a href="https://i.imgur.com/k1w4dEc.png" rel="noreferrer"><img src="https://i.imgur.com/k1w4dEc.png" alt="Azure website scripts/styles loading time"></a></p>
  
  <p>And when app is reloaded it needs 250 ms just to get first byte from tiniest script, and others needs much more. Initial Html is loaded in 60 ms. Scripts/styles are cached so they are not downloaded, but the TTFB time is killing the performance. This repeats every single reload. App is not containing any sophisticated configuration so it should run much faster than it.</p>
  
  <p>What can cause such problems?</p>