Ttlcache
An in-memory cache with item expiration and generics
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
- Stars
- 1,282
- Forks
- 146
- License
- MIT
- Last commit
- 1 months ago
Related Categories
Vendor
Jellydator
A collection of Go libraries for faster and more convenient software development
Quick Links
Open Source
Related Products
Valkey
A flexible distributed key-value database that is optimized for caching and other realtime workloads.
Top category match
Tortilla
Wrapping web APIs made easy.
Top category match
Query
Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
Top category match
Cache
Provides extended PSR-6, PSR-16 (and tags) implementations
Top category match
Picasso
A powerful image downloading and caching library for Android
Top category match