{"id":50258,"library":"pquerna-cachecontrol","title":"cachecontrol","description":"Package cachecontrol implements the logic for HTTP Caching","status":"active","version":"0.2.0","language":"go","source_language":null,"source_url":"https://github.com/pquerna/cachecontrol","tags":["http","cache","cache-control","utility"],"install":[{"cmd":"go get github.com/pquerna/cachecontrol","lang":"bash","label":"Install github.com/pquerna/cachecontrol"}],"dependencies":[],"imports":[{"symbol":"cachecontrol","correct":"github.com/pquerna/cachecontrol"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"github.com/pquerna/cachecontrol/cacheobject\"\n)\n\nfunc main() {\n\treq, _ := http.NewRequest(\"GET\", \"http://example.com\", nil)\n\tres, _ := cacheobject.ParseRequestCacheControl(req.Header.Get(\"Cache-Control\"))\n\tfmt.Println(res.MaxAge)\n}","lang":"go","description":"Parse Cache-Control headers from an HTTP request."},"warnings":[],"env_vars":null,"search_vec":"'cach':9,11,13 'cache-control':12 'cachecontrol':1,3 'control':14 'http':8,10 'implement':4 'logic':6 'packag':2 'util':15","created_at":"2026-06-15T04:46:19.872866+00:00","updated_at":"2026-06-15T04:46:19.872866+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/pquerna/cachecontrol","github":"https://github.com/pquerna/cachecontrol","docs":"https://pkg.go.dev/github.com/pquerna/cachecontrol#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}