You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
README: More consistent formatting with other Go packages. (gregjones#68)
Remove the redundant "A Transport for Go's http.Client that will
cache responses according to the HTTP RFC" sentence. The next
paragraph says something similar. This sentence can already be
found in the repository description (one liner).
It's very common to find a godoc.org link in the form of a badge in
most Go package repository READMEs. Therefore, it's more recognizable
and easier to click the link. I think we should use the badge to be
friendlier to users, and remove the superseded plain text link.
Move License note into its own section at the bottom. This is a more
common location. GitHub already detects and displays the license
prominently in top right corner, and there is a LICENSE file in the repo,
so it makes sense to place Cache Backends section higher up.
- The built-in 'memory' cache stores responses in an in-memory map.
@@ -23,3 +17,8 @@ Cache backends
23
17
-[`github.com/gregjones/httpcache/leveldbcache`](https://github.com/gregjones/httpcache/tree/master/leveldbcache) provides a filesystem-backed cache using [leveldb](https://github.com/syndtr/goleveldb/leveldb).
24
18
-[`github.com/die-net/lrucache`](https://github.com/die-net/lrucache) provides an in-memory cache that will evict least-recently used entries.
25
19
-[`github.com/die-net/lrucache/twotier`](https://github.com/die-net/lrucache/tree/master/twotier) allows caches to be combined, for example to use lrucache above with a persistent disk-cache.
0 commit comments