if you hit refresh with a Blazor app, it unloads the running app and starts a new one (actually two if pre-render enabled). the main speedup is to be sure your Blazor initial startup is fast.
Is there a way to load my Blazor page faster?
David Thielen
3,216
Reputation points
Hi all;
I go to a page on my Blazor (server) app, then press refresh. Chrome normal reload. The very first request of the browser (F12 - Network) is for Dashboard which is the page it is refreshing. That request takes 1.02 seconds (ow!!!)
This is hitting my app on Azure App Server. Is there anything I can do to speed this up? All of the substantial times strike me as much higher than reasonable?
I did it several additional times and the DNS lookup dropped to 17 μs but the other three continued to take a lot of time.
??? - thanks - dave
Developer technologies | .NET | Blazor
Developer technologies | .NET | Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
1 answer
Sort by: Most helpful
-
Bruce (SqlWork.com) 81,981 Reputation points Volunteer Moderator
2024-06-26T16:15:36.8166667+00:00