---
title: "レンダリングエンジンとJSS"
slug: "rendering-engines-and-jss"
abstract: "JSSアプリのサーバー側レンダリングの背後にあるエンジンについて説明します"
---
# レンダリングエンジンとJSS

レンダリングエンジンは、Sitecoreインスタンスを動かすContent Management環境内で実行している同じJavaScriptアプリケーションの実行を可能にすることで、JSSアプリケーションのサーバーサイドレンダリング(SSR)を行います。

[Sitecore Headless Services](https://doc.sitecore.com/xp/ja/developers/hd/19/sitecore-headless-development/sitecore-headless-services.html "Sitecore Headless Services")モジュールは、アプリが以下のいずれかの[レンダリングエンジン](https://doc.sitecore.com/xp/ja/developers/hd/19/sitecore-headless-development/rendering-engines.html "Rendering engines")を使用できるようにします:

-   [Sitecore Node.jsレンダリングエンジン](https://doc.sitecore.com/xp/ja/developers/hd/19/sitecore-headless-development/node-js-rendering-engine.html "Node.js rendering engine")はSitecore Content Management (CM)サーバー上で動作するNode.jsインスタンスであり、サーバーサイドでは統合モードで動作するアプリケーションJSSレンダリングします。CMサーバーにNode.jsをインストールする必要がありますが、[Node.jsインスタンスの設定やデバッグ](https://doc.sitecore.com/xp/ja/developers/hd/19/sitecore-headless-development/configuring-and-debugging-the-node-js-rendering-engine.html "Configuring and debugging the Node.js rendering engine")は可能です。
-   [Sitecore HTTPレンダリングエンジン](https://doc.sitecore.com/xp/ja/developers/hd/19/sitecore-headless-development/http-rendering-engine.html "HTTP rendering engine")は、リモートのNode.jsインスタンス、またはレンダリングホストであり、Sitecore CMサーバーとHTTPリクエストを通じて通信します。使用するには、[HTTPレンダリングエンジンをクライアント側とサーバー側の両方で設定](https://doc.sitecore.com/xp/ja/developers/hd/19/sitecore-headless-development/walkthrough--configuring-the-http-rendering-engine-for-your-jss-app.html "Walkthrough: Configuring the HTTP rendering engine for your JSS app")する必要があります。もしNext.jsのJSSサンプルに基づいてアプリを作成しているなら、アプリケーションはすでにこのエンジンを使用するよう設定されています。

複数のJSSアプリケーションを設定したい場合は、アプリ設定のserverSideRenderingEngine属性を使って[各アプリごとにレンダリングエンジンを設定](https://doc.sitecore.com/xp/ja/developers/hd/19/sitecore-headless-development/app-configuration-api.html "App Configuration API")できます。

> !ヒントSXAを使っているなら、Headlessテナントの設定でサーバー側のレンダリングエンジンフィールドを使ってレンダリングエンジンを設定できます。