diff --git a/niftycache.go b/niftycache.go index 303dfe0..997f5df 100644 --- a/niftycache.go +++ b/niftycache.go @@ -154,6 +154,7 @@ func (nc *Cache) Get(key string) (interface{}, bool) { } if nc.extendTTL { item.touch() + nc.ih.update(item) } return item.value, true }