Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache the Chromium binary to avoid unnecessary downloads on repeated installs on the same machine #7233

Closed
canonic-epicure opened this issue May 12, 2021 · 2 comments

Comments

@canonic-epicure
Copy link

We have a continuous integration server, which performs a clean build for every change. It starts the build with the npm i command. And on every such command puppeteer downloads the Chromium binary and unpacks it. This takes a lot of time and bandwidth. I believe this is sub-optimal and can be improved.

Much better flow would be to cache the downloaded binary somewhere and on install only unpack the archive.

@mathiasbynens
Copy link
Member

Use PUPPETEER_DOWNLOAD_PATH: #6014

@canonic-epicure
Copy link
Author

@mathiasbynens Thanks for the info! Missed that variable somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants