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