Skip to content

Commit

Permalink
feature/discussion 1117 Isolation Mode (v1) (#1206)
Browse files Browse the repository at this point in the history
* isolation mode for SSR pages and API routes for greenwood serve

* documentation for isolation mode option and global config test case

* misc refactoring

* set isolation mode to true for Lit renderer plugin

* set isolation mode to true for Lit renderer plugin
  • Loading branch information
thescientist13 committed Jun 2, 2024
1 parent 1a21f68 commit b580af4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions www/pages/docs/server-rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,20 @@ export const prerender = true;
> You can enable this for all pages using the [prerender configuration](/docs/configuration/#prerender) option.
### Isolation
<<<<<<< HEAD
=======

To execute an SSR page in its own request context when running `greenwood serve`, you can export an `isolation` option from your page set to `true`.

```js
export const isolation = true;
```

> For more information and how you can enable this for all pages, please see the [isolation configuration](/docs/configuration/#isolation) docs.

### Custom Imports
>>>>>>> 55f36b76 (feature/discussion 1117 Isolation Mode (v1) (#1206))
To execute an SSR page in its own request context when running `greenwood serve`, you can export an `isolation` option from your page set to `true`.

Expand Down

0 comments on commit b580af4

Please sign in to comment.