zkat / cacache

💩💵 but for your data. If you've got the hash, we've got the cache ™ (moved)

Home Page:https://github.com/npm/cacache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

question - can multiple node processes use the same cache path

cameronbraid opened this issue · comments

I see that in the docs you state "immune to to process races"

Fault tolerance (immune to corruption, partial writes, process races, etc)

Does that mean that multiple node processes can use the same cache path ?

Indeed! You don't need any sort of locking mechanism either (and cacache doesn't use one either), so go wild with it. npm uses this feature aggressively so you should be good :)