Displaying 1 to 15 from 15 results

moize - The consistently-fast, complete memoization solution for JS

  •    Javascript

moize is a consistently blazing fast memoization library for JavaScript. It handles multiple parameters (including default values) without any additional configuration, and offers a large number of options to satisfy any number of potential use-cases. All parameter types are supported, including circular objects, functions, etc. There are also a number of shortcut methods to memoize for unique use-cases.

jqExpire - A jQuery plugin to automatically hide page elements after an 'expiry' date and/or time.

  •    JQuery

A jQuery plugin to automatically hide page elements after an 'expiry' date and/or time.




throttling - Throttle a function and cache the result for x milliseconds

  •    Javascript

Throttle a function and cache the result for x milliseconds.The arguments parsed to the callback will be cached according to the same rules as described previously, so subsequent executions of runner will just call the supplied callback function with the previous arguments until the cache expires.

expired - Calculate when HTTP cache headers expire

  •    Javascript

expired accepts HTTP headers as an argument and will return information on when the resource will expire. Cache-Control and Expires headers are supported, if both exist Cache-Control takes priority (Why?).You can make the functions pure by passing in a JavaScript Date object to compare to instead of depending on new Date(). This isn't necessary for expired.on as it doesn't compare dates and is already pure.


expiry-map - A Map implementation with expirable items

  •    TypeScript

Memory is automatically released when an item expires by removing it from the Map. Milliseconds until an item in the Map expires.

expiry-set - A Set implementation with expirable keys

  •    TypeScript

Memory is automatically released when an item expires by removing it from the Set. Milliseconds until a key in the Set expires.

redux-persist-transform-expire - Add expiration to your persisted store

  •    Javascript

Add expiration to your persisted store. Your expires key should be present in each reducer, which should be expired. E.g.

cache2go - Simple go object caching library with LRU and expiration capabilities

  •    Go

Golang simple object caching library with LRU and expiration capabilities. The items are evicted if the capacity is exceeded or if they expire. See the test file for wroking examples.

micro-memoize - A tiny, crazy fast memoization library for the 95% use-case

  •    Javascript

As the author of moize, I created a consistently fast memoization library, but moize has a lot of features to satisfy a large number of edge cases. micro-memoize is a simpler approach, focusing on the core feature set with a much smaller footprint (~1.0kB minified+gzipped). Stripping out these edge cases also allows micro-memoize to be faster across the board than moize. Custom method to compare equality of keys, determining whether to pull from cache or not, by comparing each argument in order.

gocache - High performance and lightweight in-memory cache library with LRU and FIFO support as well as memory-usage-based-eviction

  •    Go

gocache is an easy-to-use, high-performance, lightweight and thread-safe (goroutine-safe) in-memory key-value cache with support for LRU and FIFO eviction policies as well as expiration, bulk operations and even persistence to file. It also supports cache entry TTL, which is both active and passive. Active expiration means that if you attempt to retrieve a cache key that has already expired, it will delete it on the spot and the behavior will be as if the cache key didn't exist. As for passive expiration, there's a background task that will take care of deleting expired keys.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.