FetchOptions
FetchOptions =
object
Defined in: @storesynk/astro/dist/runtime.d.ts:30
Per-fetch options for the runtime helpers.
Properties
Section titled “Properties”fresh?
Section titled “fresh?”
optionalfresh?:boolean
Defined in: @storesynk/astro/dist/runtime.d.ts:34
Bypass the module cache and fetch live (per-request SSR freshness). The
wrappers derive this from Astro.isPrerendered; pass it explicitly when
calling the helpers from your own SSR route code.
scope?
Section titled “scope?”
optionalscope?:object
Defined in: @storesynk/astro/dist/runtime.d.ts:38
Dedup scope for fresh fetches: components on the same page share one live
fetch when they pass the same per-request object (the wrappers pass
Astro.locals), keeping “pairing costs no extra requests” true under SSR.