medikoo / memoizee

Complete memoize/cache solution for JavaScript
ISC License
1.73k stars 61 forks source link

Will this package maintain cache between app runs? #91

Closed oscarvgg closed 6 years ago

oscarvgg commented 6 years ago

I'm writing a command line app that communicates with a server. It works like this: Every time the user runs a command, the app requests some data, prints it on the console and finishes with process.exit. Will this package cache the results from the server between command executions? or all the data dies when the app exits?

Thanks.

medikoo commented 6 years ago

No, at this point it's only in-memory caching with no options to store and restore from some persistent layer.

Still, this feature was already requested and will be provided with upcoming v1.

I'm going to close it as duplicate