An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/kenshaw/diskcache

Package diskcache provides a http.RoundTripper implementation that can minify, compress, and cache HTTP responses retrieved using a standard http.Client on disk. Provides ability to define custom retention and storage policies depending on the host, path, or other URL components. Package diskcache does not aim to work as a on-disk HTTP proxy -- see github.com/gregjones/httpcache for a HTTP transport (http.RoundTripper) implementation that provides a RFC 7234 compliant cache. See _example/example.go for a more complete example. Example demonstrates setting up a simple diskcache for use with a http.Client.

Ecosystem
proxy.golang.org
Latest Release
v0.10.0
25 days ago
Versions
36
Dependent Packages
4
Dependent Repos
4
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/kenshaw/diskcache
spec
License MIT
Namespace github.com/kenshaw
First Release over 5 years ago
Last Synced 24 days ago
Repository
Stars 10 on GitHub
Forks 0 on GitHub
Rankings on proxy.golang.org
Overall Top 8.8%
Dependent packages Top 2.8%
Dependent repos Top 2.5%