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

How to navigate into an already downloaded WASM application?

$
0
0

Let's say you are using the Hosted Web App template for Blazor. The user navigates to your application and the server pre-renders the page, and then the WASM is loaded and takes over as expected.

The next time you navigate to the same URL in the browser, is there a way to respond to the browser that it should use the WASM application that was already downloaded rather than pre-rendering the page on the backend again and having the browser download the WASM all over again?

As I was typing this, I recalled having seen some documentation for a PWA flavor of Blazor. I checked it out and it does check the box in regard to the goal of wanting the application to load faster. However, it otherwise seems overkill as I really don't need the other features it offers.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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