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

A fast and efficient caching library for Dart applications.

Changelog #

1.0.0 #

Features #

  • 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 #

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

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