Skip to content

Commit

Permalink
docs(netlify): add consistency option (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic authored Dec 18, 2024
1 parent f532809 commit 58bdca2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/2.drivers/netlify.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ To use, you will need to install `@netlify/blobs` as dependency or devDependency

- `name` - The name of the store to use. It is created if needed. This is required except for deploy-scoped stores.
- `deployScoped` - If set to `true`, the store is scoped to the deploy. This means that it is only available from that deploy, and will be deleted or rolled-back alongside it.
- `consistency` - The [consistency model](https://docs.netlify.com/blobs/overview/#consistency) to use for the store. This can be `eventual` or `strong`. Default is `eventual`.
- `siteID` - Required during builds, where it is available as `constants.SITE_ID`. At runtime this is set automatically.
- `token` - Required during builds, where it is available as `constants.NETLIFY_API_TOKEN`. At runtime this is set automatically.

Expand All @@ -60,8 +61,9 @@ These are not normally needed, but are available for advanced use cases or for u

- `apiURL`
- `edgeURL`
- `uncachedEdgeURL`

## Using in netlify edge
## Using in Netlify edge functions

When using Unstorage in a Netlify edge function you should use a URL import. This does not apply if you are compiling your code in a framework - just if you are creating your own edge functions.

Expand Down

0 comments on commit 58bdca2

Please sign in to comment.