Skip to content

RFC: Implement Prerender for older Browsers and Google RFC2021-03 #1314

Answered by sbwalker
iJungleboy asked this question in Ideas
Discussion options

You must be logged in to vote

As I mentioned in #1233 I recently did some testing and changed the render-mode in _Host.cshtml from

    <app>
        <component type="typeof(Oqtane.App)" render-mode="Server" />
    </app>

to

    <app>
        <component type="typeof(Oqtane.App)" render-mode="ServerPrerendered" />
    </app>

and the framework ran just fine without any errors or behavioral issues - and produced pre-rendered output. I do not see any reason to prevent making this change in Oqtane.

Note that .NET6 will take this even further... which is something that can be considered when NET6 actually ships: https://jonhilton.net/blazor-prerendering-net6/

Replies: 8 comments 35 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@iJungleboy
Comment options

@nicpitsch
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@sbwalker
Comment options

@sbwalker
Comment options

@iJungleboy
Comment options

@sbwalker
Comment options

@iJungleboy
Comment options

Answer selected by iJungleboy
Comment options

You must be logged in to vote
2 replies
@sbwalker
Comment options

@leigh-pointer
Comment options

Comment options

You must be logged in to vote
12 replies
@sbwalker
Comment options

@iJungleboy
Comment options

@sbwalker
Comment options

@iJungleboy
Comment options

@sbwalker
Comment options

Comment options

You must be logged in to vote
11 replies
@sbwalker
Comment options

@sbwalker
Comment options

@sbwalker
Comment options

@leigh-pointer
Comment options

@iJungleboy
Comment options

Comment options

You must be logged in to vote
1 reply
@sbwalker
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
7 participants