{"id":13582113,"url":"https://github.com/gregjones/httpcache","last_synced_at":"2025-04-06T13:32:50.209Z","repository":{"id":5988191,"uuid":"7210553","full_name":"gregjones/httpcache","owner":"gregjones","description":"A Transport for http.Client that will cache responses according to the HTTP RFC","archived":true,"fork":false,"pushed_at":"2023-04-20T16:59:34.000Z","size":120,"stargazers_count":743,"open_issues_count":21,"forks_count":171,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-10-29T19:59:54.306Z","etag":null,"topics":["cache","go","http","transport"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregjones.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-12-17T19:13:29.000Z","updated_at":"2024-10-25T11:42:53.000Z","dependencies_parsed_at":"2024-06-18T11:09:41.522Z","dependency_job_id":"0871f55e-642f-4b5f-add8-b65729d7a510","html_url":"https://github.com/gregjones/httpcache","commit_stats":{"total_commits":84,"total_committers":15,"mean_commits":5.6,"dds":"0.47619047619047616","last_synced_commit":"901d90724c7919163f472a9812253fb26761123d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjones%2Fhttpcache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjones%2Fhttpcache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjones%2Fhttpcache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjones%2Fhttpcache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregjones","download_url":"https://codeload.github.com/gregjones/httpcache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247488842,"owners_count":20947014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cache","go","http","transport"],"created_at":"2024-08-01T15:02:26.061Z","updated_at":"2025-04-06T13:32:49.901Z","avatar_url":"https://github.com/gregjones.png","language":"Go","readme":"httpcache\n=========\n\n[![Build Status](https://travis-ci.org/gregjones/httpcache.svg?branch=master)](https://travis-ci.org/gregjones/httpcache) [![GoDoc](https://godoc.org/github.com/gregjones/httpcache?status.svg)](https://godoc.org/github.com/gregjones/httpcache)\n\nPackage httpcache provides a http.RoundTripper implementation that works as a mostly [RFC 7234](https://tools.ietf.org/html/rfc7234) compliant cache for http responses.\n\nIt is only suitable for use as a 'private' cache (i.e. for a web-browser or an API-client and not for a shared proxy).\n\nThis project isn't actively maintained; it works for what I, and seemingly others, want to do with it, and I consider it \"done\". That said, if you find any issues, please open a Pull Request and I will try to review it. Any changes now that change the public API won't be considered.\n\nCache Backends\n--------------\n\n- The built-in 'memory' cache stores responses in an in-memory map.\n- [`github.com/gregjones/httpcache/diskcache`](https://github.com/gregjones/httpcache/tree/master/diskcache) provides a filesystem-backed cache using the [diskv](https://github.com/peterbourgon/diskv) library.\n- [`github.com/gregjones/httpcache/memcache`](https://github.com/gregjones/httpcache/tree/master/memcache) provides memcache implementations, for both App Engine and 'normal' memcache servers.\n- [`sourcegraph.com/sourcegraph/s3cache`](https://sourcegraph.com/github.com/sourcegraph/s3cache) uses Amazon S3 for storage.\n- [`github.com/gregjones/httpcache/leveldbcache`](https://github.com/gregjones/httpcache/tree/master/leveldbcache) provides a filesystem-backed cache using [leveldb](https://github.com/syndtr/goleveldb/leveldb).\n- [`github.com/die-net/lrucache`](https://github.com/die-net/lrucache) provides an in-memory cache that will evict least-recently used entries.\n- [`github.com/die-net/lrucache/twotier`](https://github.com/die-net/lrucache/tree/master/twotier) allows caches to be combined, for example to use lrucache above with a persistent disk-cache.\n- [`github.com/birkelund/boltdbcache`](https://github.com/birkelund/boltdbcache) provides a BoltDB implementation (based on the [bbolt](https://github.com/coreos/bbolt) fork).\n\nIf you implement any other backend and wish it to be linked here, please send a PR editing this file.\n\nLicense\n-------\n\n-\t[MIT License](LICENSE.txt)\n","funding_links":[],"categories":["Go","Repositories"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregjones%2Fhttpcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregjones%2Fhttpcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregjones%2Fhttpcache/lists"}