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?
optionalrevalidate?: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?
optionaltags?:string[]
Tags to invalidate the responses with revalidateTag(tag).