*Hi Abp Team, We Are Coming across Some issue regarding page Load Time We found On our intial Load two times the global.Js and Css been Loaded We had used abp bundle in our project
6 Answer(s)
-
1
Would you describe your version and which UI type you used? (Angular, MVC or blazor)
-
0
Do you use Blazor Wasm or Blazor Server?
-
0
Hi, we are usig Abp5.3 on .net 6 with a Blazor Web Assembly
For the time load it loads index then point to login and then reloads index which is fine. But for every refresh even after login from browser, it goes to login-call back internally and loads index.html twice.
Our query is when user already logged it should straight load index page. Since index loaded twice, all the resources are loaded twice, this is impacting the performance on first load to the customer.
Can you please help what setting needs to be changed?
-
0
I have investigated this issue and it's correct.
global.js
is initialized twice because authentication check should be done before rendering layout. It checks authentication state and initializes global.js after authentication check.It seems second one isn't downloaded from server, browser serves it from memory cache.
-
0
-
0
We're still investigating this issue. Since this is a kind of bug, your ticket has been refunded.