This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk-next/server / EnginexNextFetchOptions

EnginexNextFetchOptions ​

Options for Next's fetch cache (next: { revalidate, tags }), passed to every request of the client.

Properties ​

revalidate? ​

optional revalidate?: number | false

Seconds until the response is revalidated in Next's Data Cache; false stores it indefinitely. See fetch(url, { next: { revalidate } }) in the Next docs.


tags? ​

optional tags?: string[]

Tags to invalidate the responses with revalidateTag(tag).