Blazor WebAssembly Keeps Accumulating Network Data on Page Navigation

Hi everyone, I'm facing an issue with my Blazor WebAssembly (WASM) application in Chrome. When I navigate between pages, the network data keeps accumulating instead of resetting. I noticed this in the Network tab of DevTools—at the bottom, where it shows resource usage (e.g., 0/7 KB), the data keeps increasing with each navigation. Even when using browser navigation (back/forward), the previous page’s network data seems to persist and add up instead of clearing out. Is there a way to prevent this accumulation and ensure that each page load starts fresh without retaining previous network requests? Thanks in advance!

Mar 28, 2025 - 05:50
 0
Blazor WebAssembly Keeps Accumulating Network Data on Page Navigation

Hi everyone,

I'm facing an issue with my Blazor WebAssembly (WASM) application in Chrome. When I navigate between pages, the network data keeps accumulating instead of resetting. I noticed this in the Network tab of DevTools—at the bottom, where it shows resource usage (e.g., 0/7 KB), the data keeps increasing with each navigation.

Even when using browser navigation (back/forward), the previous page’s network data seems to persist and add up instead of clearing out.

Is there a way to prevent this accumulation and ensure that each page load starts fresh without retaining previous network requests?

Thanks in advance!