question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The default fallback page is always loaded first, even if the browser's address bar indicates other paths.

See original GitHub issue

From: @fingers10
(The original post is in the Issue #2)


@jsakamoto , I would like to understand more on flickering effect that occurs when prerendered site is loaded. Please can you assist me on this.

I have this repo - https://github.com/fingers10/WasmServerPrerender published to GitHub Pages using the below URL.

Here is the sample URL that I’m using for testing - https://fingers10.github.io/WasmServerPrerender/fetchdata

Steps I followed,

  1. When I load in incognito window in chrome - The flickering effect is minimal. Only Data Shown in the screen is flickering. This is fine.
  2. When I load in normal window in chrome - index.html in wwwroot loads and the actual page loads. Is this the expected behavior?
  3. When I reload in both normal and in incognito window in chrome - index.html in wwwroot loads and the actual page loads. Is this the expected behavior?

Here is the video showing the same.

https://user-images.githubusercontent.com/43729469/176577418-17ed84df-8dc9-4625-848f-12e15ba563c0.mp4

Thank you for your support and teaching.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jsakamotocommented, Jul 13, 2022

Can we report this to Microsoft in aspnet repo?

Yes we can! I posted about this problem to the ASP.NET Core repository right now.

And I also tweeted it.

I’ll appreciate it if you vote my issue comment and retweet my tweet above.

1reaction
fingers10commented, Jul 10, 2022

@jsakamoto, Thanks for the inputs and fix. Now the correct page is getting loaded.

The flickering effect is minimal for simple screen - https://fingers10.github.io/WasmServerPrerender/fetchdata

But obvious for the following URL - https://ilovedotnet.org/blogs/blazor-wasm-publishing-to-iis

Here is the sample video.

https://user-images.githubusercontent.com/43729469/178150015-ad04a36b-7a52-41c9-8098-14ac19b42027.mp4

Read more comments on GitHub >

github_iconTop Results From Across the Web

React-router URLs don't work when refreshing or writing ...
The index page is served, but the URL is preserved in the browser, so once the React application loads, it detects the URL...
Read more >
Functions: getStaticPaths
Learn how to fetch data and generate static pages with `getStaticPaths`. ... false } means other routes should 404. return { paths, fallback:...
Read more >
Angular Router: Child Routes, Auxiliary Routes, Master Detail
Changing this does NOT cause a full page reload. This means that when the router navigates to /lessons , that URL is really...
Read more >
ASP.NET Core Blazor routing and navigation
This article explains how to manage Blazor app request routing and how to use the NavLink component to create navigation links.
Read more >
Faster multipage applications with streams
Learn how you can use workbox-streams to create multipage applications that use partial markup from the service worker cache and partial ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found