Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/velo/mod.ts>Velo#policy

A high-performance caching library for Deno. Supports LRU, LFU, ARC, and TinyLFU.
Latest
method Velo.prototype.policy
import { Velo } from "https://deno.land/x/velo@1.0.0/mod.ts";

Sets the caching strategy to the specified policy.

Parameters

policy: Policy<K, V>