{"id":66968,"library":"go-http-utils-fresh","title":"Fresh","description":"A Go library for HTTP freshness checks (If-None-Match/If-Modified-Since).","status":"active","version":"0.0.0-20161124030543-7231e26a4b27","language":"go","source_language":null,"source_url":"https://github.com/go-http-utils/fresh","tags":["http","caching","freshness"],"install":[{"cmd":"go get github.com/go-http-utils/fresh","lang":"bash","label":"Install github.com/go-http-utils/fresh"}],"dependencies":[],"imports":[{"symbol":"fresh","correct":"github.com/go-http-utils/fresh"}],"quickstart":{"code":"package main\n\nimport (\n    \"net/http\"\n    \"github.com/go-http-utils/fresh\"\n)\n\nfunc handler(w http.ResponseWriter, r *http.Request) {\n    if fresh.IsFresh(r.Header, w.Header()) {\n        w.WriteHeader(http.StatusNotModified)\n        return\n    }\n    w.Write([]byte(\"Hello\"))\n}","lang":"go","description":"Checks if a cached response is still fresh."},"warnings":[],"env_vars":null,"search_vec":"'/if-modified-since':13 'cach':15 'check':8 'fresh':1,7,16 'go':3 'http':6,14 'if-none-match':9 'librari':4 'match':12 'none':11","created_at":"2026-06-17T17:31:16.506686+00:00","updated_at":"2026-06-17T17:31:16.506686+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/go-http-utils/fresh","github":"https://github.com/go-http-utils/fresh","docs":"https://pkg.go.dev/github.com/go-http-utils/fresh#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}