browserify-persist-fs
browserify-persist-fs copied to clipboard
Efficient & stable persistent filesystem cache for browserify
Currently `browserify-persist-fs` uses the regular node.js [fs API](https://nodejs.org/api/fs.html) to write down the cache, however it might be cool to be able to replace the fs implementation with [`random-access-memory`](https://www.npmjs.com/package/random-access-memory), [`random-access-idb`](https://www.npmjs.com/package/random-access-idb) or...
#3 This uses the path of the file in addition to the content of the file to ensure that each input file gets cached at a unique location.
If two different files have exactly the same content, they will both get cached to the same cache file. This can happen most frequently when multiple packages require different versions...