Registry /
http-client / victorspringer-http-cache
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
httpcache
✓ github.com/victorspringer/http-cache
Creates an HTTP client with in-memory caching.
package main
import (
"net/http"
"github.com/victorspringer/http-cache"
)
func main() {
cacheClient, _ := httpcache.NewClient(httpcache.WithCache(httpcache.NewMemoryCache()))
resp, _ := cacheClient.Get("https://example.com")
defer resp.Body.Close()
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20240105202711-747df1b7981clatest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.