BeatSaberMultiplayer icon indicating copy to clipboard operation
BeatSaberMultiplayer copied to clipboard

Add jsDelivr to ServerRepositories

Open WGzeyu opened this issue 3 years ago • 2 comments

I recently discovered jsDelivr, which provides a global CDN of GitHub files, including China nodes, and has ICP filing, so it provides faster access in some areas, but it has a cache, and the time limit may be within a few days, making it unsuitable for replacing github pages.

However, in the config, ServerRepositories seems to be able to use multiple repositories, so I'm wondering what the load order is if multiple addresses are put in. Does adding a new address help speed things up?

This is the ServerRepo address in jsDelivr: https://cdn.jsdelivr.net/gh/Zingabopp/BeatSaberMultiplayerServerRepo/CompatibleServers.json

If possible, I hope jsDelivr can be added to the server repo address of the config, because there is still a chance that github.io will fail to access in China. I re-run the test and this is the approximate result of visiting many places in China:

address availability
raw.githubusercontent.com 25%
zingabopp.github.io 75%
cdn.jsdelivr.net 100%

WGzeyu avatar Aug 31 '20 11:08 WGzeyu