import { type CacheSetting } from "https://deno.land/x/deno_cache@0.4.1/file_fetcher.ts";
A setting that determines how the cache is handled for remote dependencies.
The default is "use"
.
"only"
- only the cache will be re-used, and any remote modules not in the cache will error."use"
- the cache will be used, meaning existing remote files will not be reloaded."reloadAll"
- any cached modules will be ignored and their values will be fetched.string[]
- an array of string specifiers, that if they match the start of the requested specifier, will be reloaded.