summaryrefslogtreecommitdiff
path: root/packages/integrations/netlify/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/netlify/README.md')
-rw-r--r--packages/integrations/netlify/README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/integrations/netlify/README.md b/packages/integrations/netlify/README.md
index 69f66ca73..ec72f2a2c 100644
--- a/packages/integrations/netlify/README.md
+++ b/packages/integrations/netlify/README.md
@@ -117,6 +117,27 @@ And then point to the dist in your `netlify.toml`:
directory = "dist/functions"
```
+### builders
+
+[Netlify On-demand Builders](https://docs.netlify.com/configure-builds/on-demand-builders/) are serverless functions used to build and cache page content on Netlify’s Edge CDN. You can enable these functions with the `builders` option:
+
+```js
+// astro.config.mjs
+import { defineConfig } from 'astro/config';
+import netlify from '@astrojs/netlify/functions';
+
+export default defineConfig({
+ output: 'server',
+ adapter: netlify({
+ builders: true
+ }),
+});
+```
+
+On-demand Builders are only available with the `@astrojs/netlify/functions` adapter and are not compatible with Edge Functions.
+
+
+
### binaryMediaTypes
> This option is only needed for the Functions adapter and is not needed for Edge Functions.