Module

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

Alosaur - Deno web framework with many ES Decorators
Very Popular
Latest
interface ResponseCachePayload
import { type ResponseCachePayload } from "https://dotland.deno.dev/x/alosaur@v1.1.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

import ResponseCachePayload
import { ResponseCachePayload } from "https://dotland.deno.dev/x/alosaur@v1.1.1/src/hooks/response-cache/mod.ts";