Rendering engines and JSS
A rendering engine performs server-side rendering (SSR) of JSS applications by enabling the execution of the same JavaScript application you run in development within the Content Management environment running a Sitecore instance.
The Sitecore Headless Services module enables apps to use one of the following rendering engines:
-
The Sitecore Node.js rendering engine is a Node.js instance running on your Sitecore Content Management (CM) server and server-side renders JSS applications running in integrated mode. You must install Node.js on the CM server, but you can configure and debug the Node.js instance.
-
The Sitecore HTTP rendering engine is a remote Node.js instance, or rendering host, that communicates through HTTP requests with the Sitecore CM server. To use it, you must set up the HTTP rendering engine client- and server-side. If you created your app based on the JSS sample for Next.js, your application is already configured to use this engine.
If you want to configure multiple JSS applications, you can configure a rendering engine for each app using the serverSideRenderingEngine
attribute in the app configuration.
If you are using SXA, you can configure a rendering engine in the settings of your SXA collection of Headless Sites with the help of the Server side rendering engine field.