@hytromo/nx-s3-cache
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Yet another nx cache library

Why?

All the popular nx cache libraries, including the Nx Cloud's one, are using the npm tar package to tar/untar archives using Node.js. With simple tests, I came to realize that this can be 12x slower than using system calls to GNU tar. This limits where this nx cache runner can work, but it should massively improve performance; enabling people to cache things like node_modules if need be in CI.

Credits

This package is just a combination of nx-remotecache-custom and @pellegrims/nx-remotecache-s3 with the following changes:

  1. Get rid of Node.js streams as much as possible.
  2. Get rid of npm tar and use GNU tar.

Package Sidebar

Install

npm i @hytromo/nx-s3-cache

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

39 kB

Total Files

40

Last publish

Collaborators

  • hytromo