Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface ResponseCachePayload
import { type ResponseCachePayload } from "https://deno.land/x/alosaur@v0.35.2/src/hooks/response-cache/response-cache-store.interface.ts";

Properties

duration: number

Time duration cache in ms

optional
getHash: (context: HttpContext) => string

Function for gets hash by context, default hash by serverRequest.url