-
-
Notifications
You must be signed in to change notification settings - Fork 319
ServerRendererModeEnum
David Ortner edited this page Jan 27, 2026
·
6 revisions
enum ServerRendererModeEnum| Name | Value | Description |
|---|---|---|
| browser | "browser" | Browser mode will render multiple pages in each Worker as isolated VM contexts and supports file system cache. |
| page | "page | The "page" render mode only renders one page per Worker and doesn't use a VM context for each page (some JavaScript execution environments doesn't support VM context). When the "keepAlive" option is used, it will reuse resources (such as ESM modules) between renders and can therefore improve performance. Be aware that ESM modules that are reused can have memory leaks in them if they are not designed to be reused. |
Help Packages