Skip to main content
Latest
enum CachingHeader
import { CachingHeader } from "https://deno.land/x/compression_middleware@1.1.0/deps.ts";

HTTP Caching header fields.

Examples

Example 1

import { CachingHeader } from "https://deno.land/x/http_utils@$VERSION/header.ts";
import { assertEquals } from "https://deno.land/std@$VERSION/testing/asserts.ts";

assertEquals(CachingHeader.CacheControl, "cache-control");

Members

Age = "age"
CacheControl = "cache-control"
Expires = "expires"