{"id":16703383,"url":"https://github.com/dylandreimerink/sharedhttpcache","last_synced_at":"2025-04-05T04:26:56.786Z","repository":{"id":57566089,"uuid":"217864028","full_name":"dylandreimerink/sharedhttpcache","owner":"dylandreimerink","description":"A implementation of a RFC7234 shared HTTP cache written in Go","archived":false,"fork":false,"pushed_at":"2023-02-25T04:01:39.000Z","size":99,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T12:35:49.956Z","etag":null,"topics":["go","golang","http","http-cache"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"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/dylandreimerink.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":"AUTHORS.txt","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-27T14:06:25.000Z","updated_at":"2024-10-25T15:17:31.000Z","dependencies_parsed_at":"2024-06-20T16:30:56.292Z","dependency_job_id":null,"html_url":"https://github.com/dylandreimerink/sharedhttpcache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylandreimerink%2Fsharedhttpcache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylandreimerink%2Fsharedhttpcache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylandreimerink%2Fsharedhttpcache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylandreimerink%2Fsharedhttpcache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dylandreimerink","download_url":"https://codeload.github.com/dylandreimerink/sharedhttpcache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289447,"owners_count":20914463,"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":["go","golang","http","http-cache"],"created_at":"2024-10-12T19:08:07.394Z","updated_at":"2025-04-05T04:26:56.761Z","avatar_url":"https://github.com/dylandreimerink.png","language":"Go","readme":"# HTTP caching\n\n[![GoDoc](https://godoc.org/github.com/dylandreimerink/sharedhttpcache?status.svg)](https://godoc.org/github.com/dylandreimerink/sharedhttpcache)\n[![Travis CI](https://api.travis-ci.com/dylandreimerink/sharedhttpcache.svg?branch=master)](https://travis-ci.com/dylandreimerink/sharedhttpcache)\n[![Codecov](https://codecov.io/gh/dylandreimerink/sharedhttpcache/branch/master/graph/badge.svg)](https://codecov.io/gh/dylandreimerink/sharedhttpcache)\n[![GoReport](https://goreportcard.com/badge/github.com/dylandreimerink/sharedhttpcache)](https://goreportcard.com/report/github.com/dylandreimerink/sharedhttpcache)\n\nThe goal of this project is to make a RFC 7234 compliant shared caching server in Go. Tho the main goal is to have a out-of-the-box working caching server it is also important that the functionality is exported so it can be used as library in bigger projects.\n\n## Features\n\n- Fully RFC7234 compliant (excluding optional features)\n- Flexible configuration\n- Multi layer system\n- Customizable logging\n\n## Usage\n\nTODO make command line usage section for the standalone cache server\n\n## Examples\n\nFor library examples please go the the [godoc page](https://godoc.org/github.com/dylandreimerink/sharedhttpcache)\n\n## Validation\n\nTo validate the cache a testing harness like https://github.com/http-tests/cache-tests can be used.\n\n## TODO\n\n- Adding tests, both unit and integration\n- Store partial responses\n- Combining Partial Content\n- Calculating Heuristic Freshness based on past behavior\n- Add informational headers about cache hit's ect.\n- Add websocket support\n- Add HTTP/2 push support\n- Add optional [RFC7239](https://tools.ietf.org/html/rfc7239) support\n- http cache-aware server-push [link](https://github.com/h2o/h2o/issues/421)\n- Add Cache-Control extensions (Or at least make a callback so someone can from outside the package)\n  - [RFC5861 - HTTP Cache-Control Extensions for Stale Content](https://tools.ietf.org/html/rfc5861)\n  - [RFC8246 - HTTP Immutable Responses](https://tools.ietf.org/html/rfc8246)\n- Add metrics (prometheus)\n- Add user triggered cache invalidation\n- Add advanced [cache replacement policies](https://en.wikipedia.org/wiki/Cache_replacement_policies) to inmemory layer\n- Add disk storage layer\n- Add redis storage layer\n- Add s3 storage layer\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylandreimerink%2Fsharedhttpcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdylandreimerink%2Fsharedhttpcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylandreimerink%2Fsharedhttpcache/lists"}