-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Currently, the cache file is a big monolithic file.
I would like to run concurrent builds that share a lot of file in common, and use the same cache for all of them.
A good way to do it would be to provide a cachePath option, in which browserify-cache-api would write files named by the hash of the original file path.
To allow concurrent run and prevent the use of partially written cache file, each file could be written as . and then, when the file is fully written, rename it to .
As rename operations are atomic file system operations, there won't be bad cached data.
Metadata
Metadata
Assignees
Labels
No labels