Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/keywork/http/headers/caching/mod.ts>EntityToETagOptions

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Latest
interface EntityToETagOptions
import { type EntityToETagOptions } from "https://deno.land/x/keywork@v6.2.1/http/headers/caching/mod.ts";

Properties

optional
weak: boolean

Indicates that a weak validator is used. Weak etags are easy to generate, but are far less useful for comparisons. Strong validators are ideal for comparisons but can be very difficult to generate efficiently. Weak ETag values of two representations of the same resources might be semantically equivalent, but not byte-for-byte identical. This means weak etags prevent caching when byte range requests are used, but strong etags mean range requests can still be cached.