dotnet / dotnet/aspnetcore

[Blazor] Investigate using fetch priority as an alternative for webassembly auto loading.

Open
#64,733 0 comments 1 reaction 0 assignees View on GitHub
area-blazor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

Instead of the max parallel downloads approach we use, we should investigate relying on fetch priority = low to let the browser handle the loading in the most efficient way possible.

The reason for the maxparallel downloads is that it delayed the signalr connection handshake which we didn't want to as the dlls won't be used until the next page load.

We can investigate making the signalr handshake use fetch priority high and let the other loads happen with low. That would still allow us to start interactivity as soon as possible and let the browser load things in the background more efficiently.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.