Versions in this module Expand all Collapse all v1 v1.24.5 Aug 14, 2025 Changes in this version + func HandleGenericETagCache(req *http.Request, w http.ResponseWriter, etag string) (handled bool) + func HandleGenericETagTimeCache(req *http.Request, w http.ResponseWriter, etag string, lastModified *time.Time) (handled bool) + func SetCacheControlInHeader(h http.Header, opts *CacheControlOptions) + type CacheControlOptions struct + IsPublic bool + MaxAge time.Duration + NoTransform bool + func CacheControlForPrivateStatic() *CacheControlOptions + func CacheControlForPublicStatic() *CacheControlOptions