cache
varnish-towncrier
cache | varnish-towncrier | |
---|---|---|
2 | 1 | |
568 | 23 | |
1.8% | - | |
0.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cache
-
go-generics-cache: An in-memory key:value store/cache library for Go Generics
For anything cache related, I usually refer to Caffeine from java https://github.com/ben-manes/caffeine and its closest relative in go: https://github.com/goburrow/cache
-
How to create a full page cache within a CMS?
Well if your app is simple maybe you could use https://github.com/goburrow/cache
varnish-towncrier
-
How to create a full page cache within a CMS?
Having said that, varnish is an excellent tool for these situations and it also works well if you decide to use a CDN later on. We use the combination of varnish (caching for dynamic content) and Cloudflare (caching for static assets) in a couple of production environments and using the relatively recent CDN-Cache-Control headers it's finally pretty easy to separate cache control headers of various different links in your proxy chain. Be aware that cache tagging requires an additional module (xkey vmod) which isn't always shipped with varnish packages. To help with cache invalidations you can also use tools like Varnish Broadcaster (commercial) or (shameless plug) varnish-towncrier which decouples cache invalidation calls from varnish and doesn't require your application to directly talk to each varnish instance.
What are some alternatives?
kube-httpcache - Varnish Reverse Proxy on Kubernetes
go-generics-cache - A key:value store/cache library written in Go generics. LRU, LFU, FIFO, MRU, Clock support.
lfu-redis - LFU Redis implements LFU Cache algorithm using Redis as data storage
algo2 - Some algorithms written using Go generics.
traefik-kop - A dynamic docker->redis->traefik discovery agent
Olric - Distributed in-memory object store. It can be used as an embedded Go library and a language-independent service.
varnish-modules - Collection of Varnish Cache modules (vmods) by Varnish Software
k3d - Little helper to run CNCF's k3s in Docker [Moved to: https://github.com/k3d-io/k3d]
go-hashlru - A simple thread-safe and fixed size LRU. Based on the Hashlru Algorithm :arrows_clockwise:
go-cache-benchmark - Cache benchmark for Golang