Make server side rendering optional #1041

Closed
opened 2025-08-09 17:18:38 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @NickAb on 2/9/2017

In some cases server side rendering might not be needed. For example if we have in-house web application, that is only accessible from intranet (there is no need for SEO, all users have JS enabled and high speed connection).
My understanding is that I can turn off server side rendering by commenting out following line

<app asp-prerender-module="ClientApp/dist/main-server">Loading...</app>

Is it enough to just turn it off? Would removal of server-side rendering related code and dependencies speedup webpack build?

*Originally created by @NickAb on 2/9/2017* In some cases server side rendering might not be needed. For example if we have in-house web application, that is only accessible from intranet (there is no need for SEO, all users have JS enabled and high speed connection). My understanding is that I can turn off server side rendering by commenting out following line ``` <app asp-prerender-module="ClientApp/dist/main-server">Loading...</app> ``` Is it enough to just turn it off? Would removal of server-side rendering related code and dependencies speedup webpack build?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1041
No description provided.