Skip to content

Tags: gohugoio/httpcache

Tags

v0.8.0

Toggle v0.8.0's commit message
Add CanStore option

For more context, see https://developer.chrome.com/docs/web-platform/bfcache-ccns

v0.7.0

Toggle v0.7.0's commit message
Support stale cache entries

To support eTag/change detection for entries marked stale outside of this library.

Also switch the values in XETag1 and XETag2 so they are ordered by old/new.

v0.6.0

Toggle v0.6.0's commit message
Add ShouldCache option

v0.5.0

Toggle v0.5.0's commit message

Verified

This commit was signed with the committer’s verified signature.
bep Bjørn Erik Pedersen
Downgrade Go version in go.mod

v0.4.0

Toggle v0.4.0's commit message
Add AlwaysUseCachedResponse option func

v0.3.0

Toggle v0.3.0's commit message
Misc adjustments

* Rework (some) tests
* Add EnableETagPair option to add a pair of eTags, even if the server does not provide one
* Add CacheKey option
* Remove redundant nil check
* Optionally allow caching for other HTTP methods than GET and HEAD

v0.2.0

Toggle v0.2.0's commit message
Add AroundRoundTrip option, trim the API

v0.1.0

Toggle v0.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
bep Bjørn Erik Pedersen
Remove unsed, add fork info, run gomod init etc.