cache2go
cache2go copied to clipboard
Concurrency-safe Go caching library with expiration capabilities and access counters
I would like to submit a suggestion on GitHub's issues. The suggestion is as follows: It would be beneficial to implement a function that returns a cache retrieval function with...
Hi there, Our team (@1a1a11a) has developed a new cache eviction algorithm, called SIEVE. It’s simple, efficient, and scalable. **Why SIEVE could be a great addition**: - **Simplicity**: Integrating SIEVE...
Hi @muesli , As suggested in the Issue https://github.com/muesli/cache2go/issues/57 by you, here is my PR incl. test cases for review.I'm so sorry I only recently noticed your reply on #57...
Fixed unexpected behavior when the data loader changed the key. Passes all tests.
Hi, we have a use case where we need to get cached value without touching it's keepAlive value. We need our cached item to expire at whatever time it was...
CacheTable.ValueOnly() works identically to CacheTable.Value() function, but doesn't update it's CacheItem.keepAlive value. Can be used to retrieve cached value without touching it or changing any of it's properties.
Remove unnecessary `if` statements before `range`.
Hi @muesli, As suggested in the Issue #57 by you, here is my PR incl. test cases for review. After taking a closer look at the code and now understanding...
please deletion based on createtime.