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

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

Alosaur - Deno web framework with many decorators
Go to Latest
interface ResponseCacheStore
Re-export
import { type ResponseCacheStore } from "https://deno.land/x/alosaur@v0.28.0/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