memoize-fs
Advanced tools
Changelog
4.0.1 (2024-12-20)
Changelog
4.0.0 (2024-06-20)
maxAge
option now ensures that the cache becomes invalid after the specified cache lifetime is reached based on stats.mtimeMs
(last modification time of the cache file) instead of relying on an in memory timeout that invalidates the cache. This ensures that cache life times are evaluated correctly between multiple processes.If you are using the maxAge
option, ensure that you add the option to every memoizer.fn
call (if you have multiple) to reliably check cache validity. Most probably this is already the case in your application, and you don't need to change anything.
Changelog
3.0.4 (2024-03-06)
Changelog
3.0.3 (2024-03-03)
Changelog
3.0.2 (2024-03-01)
Changelog
3.0.1 (2024-03-01)
Promise<Promise<T>>
, return Promise<T>
Changelog
3.0.0 (2023-02-20)