Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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