Karl Seguin
|
bfa769c6b6
|
add Stop method to stop the background worker and make it possible for the GC to reap the object
|
2015-07-23 22:24:50 +08:00 |
|
Karl Seguin
|
c75dcd4c12
|
link to rcache
|
2014-12-06 17:19:23 +07:00 |
|
Karl Seguin
|
41ccfbb39a
|
renamed MaxItems to MaxSize, updated readme
|
2014-11-21 15:06:27 +07:00 |
|
Karl Seguin
|
cc0395a391
|
added replace method
|
2014-11-13 22:20:12 +07:00 |
|
Karl Seguin
|
7e08960075
|
update readme
|
2014-11-04 17:24:07 +07:00 |
|
Karl Seguin
|
5e131cc17c
|
Buckets must be a power of 2. Move from % to & for determining the bucket.
|
2014-11-02 18:09:49 +07:00 |
|
Karl Seguin
|
0fddc964ec
|
added extend
|
2014-10-27 08:27:26 +07:00 |
|
Karl Seguin
|
77765a3f11
|
Get now returns the *Item rather than the item's value. Get no longer actively
purges stale items.
Combining these two changes, CCache can now be used to implement both of
Varnish's grace and saint mode.
|
2014-10-25 17:15:47 +07:00 |
|
Karl Seguin
|
0c7492b382
|
Added layered cache
|
2014-10-25 12:19:14 +07:00 |
|
Karl Seguin
|
a81a0f665c
|
Changed some config defaults.
Added documentation
|
2014-10-14 13:43:34 +07:00 |
|
Karl Seguin
|
751266c34a
|
Remove Value interface, cache now works against interface{} with the
expiry specified on a Set.
Get no longer returns expired items
Items can now be deleted
|
2013-10-30 20:18:51 +08:00 |
|
Karl Seguin
|
97bc65dc6a
|
first commit
|
2013-10-19 08:56:28 +08:00 |
|