{"id":16344168,"url":"https://github.com/breuerfelix/httproxy-cache","last_synced_at":"2025-06-18T07:34:00.677Z","repository":{"id":223149068,"uuid":"759434104","full_name":"breuerfelix/httproxy-cache","owner":"breuerfelix","description":"HTTP Reverse Proxy Cache","archived":false,"fork":false,"pushed_at":"2025-02-13T13:09:30.000Z","size":33,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T12:28:02.997Z","etag":null,"topics":["cache","http","proxy","reverse-proxy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/breuerfelix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-02-18T15:32:43.000Z","updated_at":"2025-02-13T13:09:33.000Z","dependencies_parsed_at":"2024-12-17T15:22:18.452Z","dependency_job_id":"c3f63726-3e53-4ae3-9a59-6b0344d97d92","html_url":"https://github.com/breuerfelix/httproxy-cache","commit_stats":null,"previous_names":["breuerfelix/httproxy-cache"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/breuerfelix/httproxy-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breuerfelix%2Fhttproxy-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breuerfelix%2Fhttproxy-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breuerfelix%2Fhttproxy-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breuerfelix%2Fhttproxy-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/breuerfelix","download_url":"https://codeload.github.com/breuerfelix/httproxy-cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breuerfelix%2Fhttproxy-cache/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260512031,"owners_count":23020315,"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","http","proxy","reverse-proxy"],"created_at":"2024-10-11T00:27:07.775Z","updated_at":"2025-06-18T07:33:55.646Z","avatar_url":"https://github.com/breuerfelix.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTProxy Cache\n\nExample config found [here](config.yaml):\n```yaml\nupstream: \"https://httpbin.org\"\nroutes:\n- path: \"/anything/:param1\"\n  clear_cache:\n  - DELETE\n  - POST\n```\n\n## How it works\n\nThe service has a catch-all route that proxies ALL requests to the specified upstream.  \n`GET` routes defined in the `config.yamL` are cached in memory. The first request is made against upstream and all future ones are served out of memory.  \nA `HEAD` request against the route will clear the cache.  \nRequest methods defined in `clear_cache` will also clear it.  \n\nExample:\n1. `GET /anything/foobar` -\u003e proxied, saved in memory\n1. `GET /anything/foobar` -\u003e served from cache\n1. `POST /anything/foobar` -\u003e proxied, clears cache\n1. `GET /anything/foobar` -\u003e proxied, saved in memory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreuerfelix%2Fhttproxy-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbreuerfelix%2Fhttproxy-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreuerfelix%2Fhttproxy-cache/lists"}