Skip to main content
Module

x/lume/core/cache.ts>default

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class default
import { default } from "https://deno.land/x/lume@v1.15.2/core/cache.ts";

Class to cache the content transformations (like imagick manipulations)

Constructors

new
default(options?: Options)

Methods

clear(): Promise<void>
get(content: any, key: any): Promise<Uint8Array | undefined>
getText(content: any, key: any): Promise<string | undefined>
set(
content: string | Uint8Array,
key: any,
result: string | Uint8Array,
): Promise<void>