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

x/view_engine/node_modules/@types/ejs/index.d.ts>Cache

🚀A Template View Engine for Deno frameworks
Latest
interface Cache
import { type Cache } from "https://deno.land/x/view_engine@v10.6.0/node_modules/@types/ejs/index.d.ts";

Methods

set(key: string, val: TemplateFunction): void

Cache the intermediate JavaScript function for a template.

get(key: string): TemplateFunction | undefined

Get the cached intermediate JavaScript function for a template.

reset(): void

Clear the entire cache.