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

x/lume/middlewares/expires.ts>Options

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface Options
import { type Options } from "https://deno.land/x/lume@v1.15.3/middlewares/expires.ts";

Properties

defaultDuration: number

The default duration for unknown types

durations: Record<string, number>

List of types with the cache duration