package
0.3.4
Repository: https://github.com/vsco/dcdr.git
Documentation: pkg.go.dev

# Functions

HTTPCachingHandler middleware that provides HTTP level caching using the If-None-Match header.
NotModified checks the requests If-None-Match header for a matching CurrentSHA in the Client.
SetCacheHeaders ensure response is not cached on the client.

# Constants

CacheControl ensure no client-side or proxy caching.
CacheControlHeader sets the caches control header for the response.
EtagHeader header used to pass the CurrentSHA in responses.
Expires ensure no client-side caching.
ExpiresHeader sets the expires header for the response.
IfNoneMatchHeader http header containing the clients CurrentSHA.
LastModified date when the feature set was last updated.
Pragma ensure no client-side caching.
PragmaHeader sets the pragma header for the response.