Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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
§
signal?: AbortSignal
[src]

Pass in an AbortController's signal to cancel the request.