Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASM : Reinvestigate startup improvements #4005

Closed
David-Moreira opened this issue Jul 23, 2022 · 8 comments
Closed

WASM : Reinvestigate startup improvements #4005

David-Moreira opened this issue Jul 23, 2022 · 8 comments
Assignees

Comments

@David-Moreira
Copy link
Contributor

WASM : Reinvestigate startup improvements

@stsrki
Copy link
Collaborator

stsrki commented Jul 24, 2022

https://github.com/ILoveDotNet/ilovedotnet has a prerendering enabled.

@sturlath
Copy link
Contributor

Is Blazorize slow to startup? I have been having massive loadtime issues with abp.io and I thought that apb.io was the issue.

Just to add I cant use trimming ecause of obfuscated dlls at the moment

@stsrki
Copy link
Collaborator

stsrki commented Jul 24, 2022

Blazorise has very little footprint compared to ABP, but we still want to make it better. The end result should be to load instantly, if possible.

@David-Moreira
Copy link
Contributor Author

David-Moreira commented Jul 24, 2022

Right, when we talk about start up improvements, it's stuff/tricks that you can do to make it actually download faster or be perceived to load faster, since WASM as you know has a big payload.

We had tried the trimmer and the prerender in the past with no great success...
But we've recently started to see some wasm sites load pretty fast on first load.... So we'll be taking a look at those and reinvestigate this.

So we'll see what we can do on our demo running WASM. So basically we'll be trying to optimize the demo wasm app, not exactly Blazorise itself. Altought if there's improvements we can do to Blazorise itself, we will if it makes sense of course.

@stsrki
Copy link
Collaborator

stsrki commented Jul 24, 2022

And we can and will write a blog post once we figure the necessary steps to make it load faster.

@stsrki
Copy link
Collaborator

stsrki commented May 29, 2023

@David-Moreira Should we close this? The coming Blazor United in .NET 8 will most probably solve the loading problem.

@David-Moreira
Copy link
Contributor Author

David-Moreira commented May 29, 2023

The Blazor United is an effort centralized in reusing all the tools available in kind of a single solution but one thing it does require for some of the features, like loading the Blazor.Server component first while loading the dlls in the background, isis having the solution hosted in a server. Which is kinda different from straight up just having the app served without a "dedicated" server. I.e only reading html and css/js/dll/etc... resouces

However nowadays as long as you are using dotnet publish you should already notice that the apps load pretty fast (because the publish already does the trimming, etc by default). So you can close with that in mind.

@stsrki stsrki closed this as completed May 29, 2023
@stsrki stsrki moved this to ✔ Done in Development Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants