profile
viewpoint

Ask questionsDownload slow, breaking CI

Hello,

I noticed that the download speed of node js has become rather slow which breaks a our azure pipeline task. Basically it times out and our build doesn't continue.

Any help with this would be appreciated and let me know if you need anything from me, thanks!

Azure task

nodejs/build

Answer questions MattIPv4

A suggestion for improving caching here would be to increase the age on the cache control header for /dist/*.

As I noted in Slack, it seems these are currently served with a max-age of four hours, which seems incredibly low considering these files will never change. Why not set something much higher, like a year?

I have no insight into the Cloudflare config, but it’s worth also checking caching for these files is enabled there. Maybe setup a page rule to ensure they have a long cache configured via Cloudflare directly as well?

useful!

Related questions

No space left on test-macstadium-macos10.11-x64-2 hot 1
Prepare to forward foundation.nodejs.org to openjsf.org hot 1
No space left on test-macstadium-macos10.11-x64-2 hot 1
No space left on test-macstadium-macos10.11-x64-2 hot 1
access for @victorgomes to osx build bot hot 1
FYI - Potential issues on LinuxOne/s390 machines hot 1
test-osuosl-aix61-ppc64_be-3 taken offline hot 1
No space left on device while building a release hot 1
Problems with CITGM job on AIX hot 1
macOS release machine version for Node 12+ hot 1
temporary access to build machines for thefourtheye hot 1
Almost all nodes are offline with "This node is offline because it uses an old slave.jar" hot 1
trying to send test configuration email but Failed to send out e-mail (java.net.ConnectException: Connection refused: connect) hot 1
`No valid crumb was included in the request` error trying to save job configurations hot 1
No space left on device while building a release hot 1
Github User Rank List