Enable Server-Side Rendering in Spire

  • Updated

You can enable Server-Side Rendering in Optimizely Configured Commerce with Spire to help improve page performance.

  1. Go to Administration > Settings > Enable Server Side Rendering in the Admin Console.

    Enable SSR.png

  2. Toggle to Yes. When enabled, Spire uses Server-Side Rendering to return pages for all requests. The default value is No.
  3. Choose whether to Include the Catalog in the SSR Response. This setting waits for Catalog APIs to complete in Server-Side Rendering before returning the page. The default value is Yes.
  4. Choose whether to Include Real Time Pricing in SSR Response. This setting waits for Real-Time Pricing to complete in Server-Side Rendering before returning the page. The default value is No.
  5. Choose whether to Include Real Time Inventory in SSR Response. This setting waits for Real-Time Inventory to complete in Server-Side Rendering before returning the page. The default value is No.

    SSR settings.png

  6. Click Save to apply your changes.