Ttlcache
Database CachingCache & Key-Value Stores

Ttlcache

An in-memory cache with item expiration and generics

Open Source

About

TTLCache is an in-memory caching solution designed for Go, featuring item expiration and support for generics. It allows users to set per-item or cache-wide time-to-live (TTL) values, automatically deleting expired items. The cache provides a simple API for common operations such as setting, retrieving, and deleting items, along with event handlers for insertion, updates, and evictions. It is suitable for applications that require efficient data storage with automatic management of item lifetimes.

Open Source Health

Not enough history
Stars
1,282
Forks
146
License
MIT
Last commit
1 months ago
Go

Related Categories