Skip to main content
Module

x/alosaur/src/hooks/response-cache/mod.ts>ResponseCacheStore

Alosaur - Deno web framework with many ES Decorators
Very Popular
Latest
interface ResponseCacheStore
Re-export
import { type ResponseCacheStore } from "https://deno.land/x/alosaur@v1.1.1/src/hooks/response-cache/mod.ts";

Methods

create<T>(hash: string, payload: ResponseCacheResult<T>): Promise<void>

Create hash in store

delete(hash: string): Promise<void>

Delete cache by hash

get<T>(hash: string): Promise<ResponseCacheResult<T>>

Get object value by hash