Skip to main content
interface ETagOptions
Re-export
import { type ETagOptions } from "https://deno.land/x/etag@0.0.1/mod.ts";

Properties

optional
weak: boolean

Force the module to generate a weak eTag, which are prefixed with W/. Weak tags are recommended for most use cases, preventing unnecessary cache invalidation. For strong eTags, the cache can be busted from only one byte being a mismatch to the original!

optional
statTag: boolean

Force the ETag to be calculated from file stats rather than a hash of the given entity's contents.