FetchParameters
import type { FetchParameters } from "https://esm.sh/@supabase/storage-js@2.95.3/dist/index.d.mts";interface FetchParameters {
cache?:
| "default"
| "no-store"
| "reload"
| "no-cache"
| "force-cache"
| "only-if-cached";
signal?: AbortSignal;
}§Properties
§
cache?: "default" | "no-store" | "reload" | "no-cache" | "force-cache" | "only-if-cached"
[src]Controls how the request interacts with the browser's HTTP cache.
- 'default': Use standard cache behavior
- 'no-store': Bypass cache entirely (useful in Edge Functions)
- 'reload': Bypass cache but update it with response
- 'no-cache': Validate with server before using cached response
- 'force-cache': Use cache even if stale
- 'only-if-cached': Only use cache, fail if not cached