View Source Inertia.SSR (Inertia v0.10.0)

A supervisor that provides SSR support for Inertia views. This module is responsible for starting a pool of Node.js processes that can run the SSR rendering function for your application.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the SSR supervisor and accompanying Node.js workers.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Starts the SSR supervisor and accompanying Node.js workers.

Options

  • :path - (required) the path to the directory where your ssr.js file lives.
  • :module - (optional) the name of the Node.js module file. Defaults to "ssr".
  • :pool_size - (optional) the number of Node.js workers. Defaults to 4.