Skip to main content
Latest
interface ResponseCachePayload
import { type ResponseCachePayload } from "https://deno.land/x/alosaur@v1.1.1/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