Skip to main content
The Deno 2 Release Candidate is here
Learn more
Very Popular
Go to Latest
interface ResponseCachePayload
import { type ResponseCachePayload } from "https://deno.land/x/alosaur@v0.37.0/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