Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to check the contents of a Blazor Server batch render message sent to the client?

$
0
0

I'm trying to optimize a Blazor Server application and I am stuck on one of the pages which contains a table with a lot of components inside.

First, I switched the table to use Virtualization, which helped clients with fast connections. Unfortunately, the clients on mobile connections still suffer a lot of delays.Delays are caused by large chunks of data sent during the batch render.I've checked the message in Inspector, and I can see that from a 1MB chunk, only 1/3 of it is the actual HTML content.The overhead is incredible. The fully rendered table (without virtualization) takes around 300KB of HTML content. A single chunk with 1/5th of the table takes around 1MB.What is the rest of the batch render message?How could I check it?

I'm looking for this info to understand better what I need to do and how to find places where I could improve the application's performance.

If it helps, the application is using .Net 7.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>