sasa1977 / con_cache

ets based key/value cache with row level isolated writes and ttl support
MIT License
910 stars 71 forks source link

The cache itself is now included to the callback #2

Closed vorce closed 10 years ago

vorce commented 10 years ago

On updates the callback will be called with {:update, cache, key, value} On deletes the callback is called with {:delete, cache, key}

This makes it easier to act on the item before deletion for example.

sasa1977 commented 10 years ago

Thank you for contributing!

vorce commented 10 years ago

Cheers, and thank you!