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

Blazor WASM SEO Performance Test Issue #41807

Closed
WalidMoheyEldin opened this issue May 23, 2022 · 1 comment
Closed

Blazor WASM SEO Performance Test Issue #41807

WalidMoheyEldin opened this issue May 23, 2022 · 1 comment
Labels
area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. question Status: Resolved

Comments

@WalidMoheyEldin
Copy link

WalidMoheyEldin commented May 23, 2022

Hello,
How can I make SEO friendly application with Blazor WASM. I tried the default template and the test in GTMETRIX was 41% performance and after the search I found that I have to change the app to pre-render, after I changed it to pre-render the test was 68% and I have authentication issue that announced in Microsoft docs.
I tried the DLL lazy loading but I can’t load assembly dll files on navigation even in the route because it is not working with pre-render.
So, please advise!

@TanayParikh TanayParikh added feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly area-blazor Includes: Blazor, Razor Components question labels May 24, 2022
@SteveSandersonMS
Copy link
Member

Prerendering is the main thing you need to do for SEO.

We don't have a specific list of suggestions on how to raise this GTMETRIX score higher - I'm afraid you'll have to look up how this particular score is determined. If you are able to provide specific requirements on what Blazor should be doing we can certainly consider that. If you find a specific bug when using prerendering with lazy loading, could you please post a full bug report with minimal repro steps?

There is some documentation about how to minimize the size of the WebAssembly app payload at https://docs.microsoft.com/en-us/aspnet/core/blazor/performance?view=aspnetcore-6.0#minimize-app-download-size

@SteveSandersonMS SteveSandersonMS added the ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. label May 26, 2022
@ghost ghost added the Status: Resolved label May 26, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jun 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. question Status: Resolved
Projects
None yet
Development

No branches or pull requests

3 participants