fastcache 1.2.1 copy "fastcache: ^1.2.1" to clipboard
fastcache: ^1.2.1 copied to clipboard

A fast and efficient caching library for Dart applications.

Changelog #

1.2.1 #

Improvements #

  • Minor bug fixes and performance optimizations
  • Updated documentation

1.2.0 #

Features (1.2.0) #

  • Enhanced LRU cache performance
  • Added additional synchronization safety
  • Improved error handling

1.1.0 #

Features (1.1.0) #

  • Added synchronous operation variants for LRU cache
  • Enhanced TTL manager with more precise timing
  • Improved lazy cache update mechanisms

Dependencies (1.1.0) #

  • Updated synchronized dependency to ^3.4.1+1

1.0.0 #

Features (1.0.0) #

  • FastCache - Base cache class with key-value storage and expiration management

    • Support for setting default expiration time
    • Basic operations: get/set/remove/clear
    • getOrCreate for lazy initialization
    • Expiration and eviction callbacks
  • FastCacheItem - Cache item class with fine-grained expiration control

    • Incremental expiration updates
    • Manual expiration reset
    • Remaining/elapsed time queries
    • Update callback mechanism
  • FastCacheLazy - Lazy cache with on-demand updates

    • Synchronous and asynchronous get operations
    • Configurable update cycle
    • Stale marking and force update
    • Update status tracking
  • FastCacheLru - LRU (Least Recently Used) cache

    • Capacity limit with automatic eviction
    • Synchronous and asynchronous operation versions
    • Hybrid caching support (TTL + Lazy)
    • Multiple iteration methods
  • FastCacheTtl - TTL (Time-To-Live) manager

    • Periodic cleanup of expired items
    • Start/reset/dispose controls
    • Expiration callbacks

Dependencies (1.0.0) #

  • synchronized: ^3.4.1 - For thread-safe operations
0
likes
160
points
235
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A fast and efficient caching library for Dart applications.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

synchronized

More

Packages that depend on fastcache