in the standard configuration the static file handle would return the file. this should be quick, so my guess is that you have caching turned off in the browser, and your requests are going to different web servers (not over the keep alive session - check with browser debug tools). and the delay is the server spinning up.
Why does a css file embedded in a DLL take 50.9ms to 9.4s to load?
Hi all;
I have a Blazor server app running on Azure app server. I am using Application Insights to measure performance and as I am new to Application Insights, this may be a user error.
I have MudBlazor referenced in App.razor as:
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
I believe this means it is reading it out of the MudBlazor.dll which is a local disk read from a local file.
Application Insights shows the time for 'GET /_content/MudBlazor/MudBlazor.min.css` to be, in order: 9.4s, 1.6s.153.9ms, 50.9ms.
These times are, I believe, the server responding to a client browser that is requesting it. These are all the same browser.
My question is why so long? Even 50.9 strikes me as high for something embedded in a local file. (A separate question is why is the browser re-requesting the file. But that's a distinct issue for another question.)
thanks - dave