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.
proxy.golang.org
v0.10.0
25 days ago
36
4
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 |