Skip to main content
Module

x/keywork/collections/mod.ts>KeyworkDocumentFetchOptions

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
interface KeyworkDocumentFetchOptions
import { type KeyworkDocumentFetchOptions } from "https://deno.land/x/keywork@v6.0.1/collections/mod.ts";

Properties

optional
cacheTtl: number

The cacheTtl parameter must be an integer that is greater than or equal to 60. It defines the length of time in seconds that a KV result is cached in the edge location that it is accessed from. This can be useful for reducing cold read latency on keys that are read relatively infrequently.

optional
deserializeAs: DeserializationTransformers

Determines how the fetched data will be interpreted after fetching.