{"id":21258853,"url":"https://github.com/jamesponddotco/pagecache-go","last_synced_at":"2025-03-15T06:34:53.486Z","repository":{"id":159323491,"uuid":"625654576","full_name":"jamesponddotco/pagecache-go","owner":"jamesponddotco","description":"[READ-ONLY] Stable interface and helpers for caching HTTP responses.","archived":false,"fork":false,"pushed_at":"2023-05-01T19:47:43.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2025-03-07T00:52:09.431Z","etag":null,"topics":["cache","caching","go","http","http-cache","memory-cache","mockingjay"],"latest_commit_sha":null,"homepage":"https://sr.ht/~jamesponddotco/pagecache-go/","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/jamesponddotco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-04-09T19:23:34.000Z","updated_at":"2023-04-15T20:45:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"530bf789-0b75-4ee2-b8cc-2bdad31c49ba","html_url":"https://github.com/jamesponddotco/pagecache-go","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/jamesponddotco%2Fpagecache-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesponddotco%2Fpagecache-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesponddotco%2Fpagecache-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesponddotco%2Fpagecache-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesponddotco","download_url":"https://codeload.github.com/jamesponddotco/pagecache-go/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695478,"owners_count":20332622,"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","caching","go","http","http-cache","memory-cache","mockingjay"],"created_at":"2024-11-21T04:11:11.472Z","updated_at":"2025-03-15T06:34:53.468Z","avatar_url":"https://github.com/jamesponddotco.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pagecache\n\n[![Go Documentation](https://godocs.io/git.sr.ht/~jamesponddotco/pagecache-go?status.svg)](https://godocs.io/git.sr.ht/~jamesponddotco/pagecache-go)\n[![Go Report Card](https://goreportcard.com/badge/git.sr.ht/~jamesponddotco/pagecache-go)](https://goreportcard.com/report/git.sr.ht/~jamesponddotco/pagecache-go)\n[![pagecache-go build status](https://builds.sr.ht/~jamesponddotco/pagecache-go.svg)](https://builds.sr.ht/~jamesponddotco/pagecache-go?)\n\n\u003e **Note**: This library is under active development and most pieces\n\u003e haven't been tested yet. **Do not use in production** until a tagged\n\u003e release is out.\n\nPackage `pagecache` provides a stable interface and helpers for caching HTTP responses.\n\n## Features\n\n- Stable cache interface.\n- Simple and easy-to-use API.\n- Multiple helpers, making implementation easier.\n\n### `pagecache.Cache` implementations\n\nThe `pagecace` package itself only provides a cache interface and helper\nfunctions for users who wish to implement that interface. You can either\nuse an implementation created by someone else or write your own.\n\n**Implementations**\n\n- [`memorycachex`](https://git.sr.ht/~jamesponddotco/pagecache-go/tree/trunk/item/memorycachex)\n  provides a thread-safe in-memory cache using the\n  [Mockingjay](https://en.wikipedia.org/wiki/Cache_replacement_policies#Mockingjay)\n  cache replacement policy.\n\nIf you wrote a `pagecache.Cache` implementation and wish it to be linked\nhere, [please send a patch](https://git.sr.ht/~jamesponddotco/pagecache-go#resources).\n\n## Installation\n\nTo install `pagecache` alone, run:\n\n```sh\ngo get git.sr.ht/~jamesponddotco/pagecache-go\n```\n\n## Contributing\n\nAnyone can help make `pagecache` better. Check out [the contribution\nguidelines](https://git.sr.ht/~jamesponddotco/pagecache-go/tree/master/item/CONTRIBUTING.md)\nfor more information.\n\n## Resources\n\nThe following resources are available:\n\n- [Package documentation](https://godocs.io/git.sr.ht/~jamesponddotco/pagecache-go).\n- [Support and general discussions](https://lists.sr.ht/~jamesponddotco/pagecache-discuss).\n- [Patches and development related questions](https://lists.sr.ht/~jamesponddotco/pagecache-devel).\n- [Instructions on how to prepare patches](https://git-send-email.io/).\n- [Feature requests and bug reports](https://todo.sr.ht/~jamesponddotco/pagecache).\n\n---\n\nReleased under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesponddotco%2Fpagecache-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesponddotco%2Fpagecache-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesponddotco%2Fpagecache-go/lists"}