Skip to main content
Module

x/plug/types.ts>CacheSetting

πŸ”Œ Deno FFI helper module
Go to Latest
type alias CacheSetting
import { type CacheSetting } from "https://deno.land/x/plug@1.0.0-rc.3/types.ts";

A setting that determines how the cache is handled for remote dependencies.

Option Description
use The cache will be used, meaning existing remote files will not be reloaded, this is the default option.
only Only the cache will be re-used, and any remote files not in the cache will error.
reloadAll Any cached modules will be ignored and their values will be fetched.
definition: "use" | "only" | "reloadAll"