Hi, I have a loading problem with Blazor Application using Blazor Web App template. When you navigate within the same tab, only related component and data of opening page are loaded, but opening a page on a new tab triggers a complete application reload. How to prevent this reload when opening on new tab. Thanks, Dharma
3 Answer(s)
-
0
Hi, when you open a page of a Blazor Web App in a new browser tab, the browser indeed initiates a full page load, which is the default and the expected behavior. So, you cannot prevent a browser from reloading a fresh copy of the app when a page is opened in a new tab — that’s standard browser behavior.
You may want to consider Pre-rendering and Caching Techniques of Blazor. Please refer to Blazor's documentation for these: https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/routing?view=aspnetcore-9.0
-
0
Thanks EngincanV, I will check the link you suggested Thanks
-
0
Thanks EngincanV, I will check the link you suggested Thanks
Great 👍
Let me know if you need clarification at any point. Regards.