Faster Swift Downloads!

Swift download links have moved to a new location to provide faster download speeds! The toolchains will be hosted at download.swift.org, and it will use a similar pattern as the current URL. To use the new URL, replace swift.org/builds/ with download.swift.org/. Starting Oct 26th 2021, the swift.org/builds URLs will be redirected to the new sub domain.

Example:
Current URL:

https://swift.org/builds/swift-5.5-release/xcode/swift-5.5-RELEASE/swift-5.5-RELEASE-osx.pkg

New URL:

https://download.swift.org/swift-5.5-release/xcode/swift-5.5-RELEASE/swift-5.5-RELEASE-osx.pkg
36 Likes

This is life-changing, thank you @mishal_shah!

I just compared the two download links: The new download completed in 2 minutes for me here in Tokyo, while the old one is at 9% and it'll take another 90minutes to complete.

This really helps and will help me not waste hours upon hours waiting for nightly toolchains, thank you :smiley:

18 Likes

This new site is blazingly fast! Just released swiftbox 0.13.1, and I can see a 10x download speed from the CI (3.12→38.4MB/s). A fresh Swift installation now takes only 41s, compared with 1m27s before.


However, I didn’t notice any improvement on downloading speed from China mainland. It’s a ~10KB/s experience from my desktop, which is even slower than before (~90KB/s).

I would expect such problem to be fixed. It seems to be related with the CDN or storage service. If solving it costs too high, I’d suggest providing a file-list and allow enterprises and institutes to set up their own mirrors.

7 Likes

Hello, do you have any good ideas about swift package? Pulling dependencies is slow.

Sorry if it's obvious but does this apply to Docker images too?

Docker images are pulled from DockerHub so this won't affect it

3 Likes

This has been updated, and all traffic from swift.org/builds will be redirected to download.swift.org

3 Likes