{"modulePath":"github.com/RedAFD/code-core","version":"v1.14.0-rc8","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package httpcache\n\n## Functions\n\n```go\nfunc GetCacheControl() string\n```\nGetCacheControl returns a suitable \"Cache-Control\" header value\n\n```go\nfunc HandleEtagCache(req *http.Request, w http.ResponseWriter, fi os.FileInfo) (handled bool)\n```\nHandleEtagCache handles ETag-based caching for a HTTP request\n\n```go\nfunc HandleTimeCache(req *http.Request, w http.ResponseWriter, fi os.FileInfo) (handled bool)\n```\nHandleTimeCache handles time-based caching for a HTTP request\n\n","path":"github.com/RedAFD/code-core/modules/httpcache","name":"httpcache","synopsis":"","isRedistributable":true}
