migrate sphinx mathjax from jsdelivr to cdnjs#1669
migrate sphinx mathjax from jsdelivr to cdnjs#1669wanghan-iapcm merged 1 commit intodeepmodeling:develfrom
Conversation
jsdelivr, which is the default mathjax path in the sphinx, has been blocked in China. See jsdelivr/jsdelivr#18392. Of course, we hope our rendered equations can be shown in China.
|
How about the speed of rendering outside China? |
Just out of interst, why not consider cdnjs mirrors available in China while having excellent global speeds, such as https://cdn.baomitu.com and https://cdn.bytedance.com The cdnjs experience in China is defintely not great |
|
It is amazing to know it's unblocked... |
@hifocus baomitu was down last year for two weeks (https://www.v2ex.com/t/758137). There is no evidence showing Bytedance CDN has excellent global speeds... It looks like they only have one server outside China. |
It was for ICP registration reasons. For btyedance cdn, try Regardless, cdnjs was like the worst option you could use, although asp.net is actually worse. It's important to use local CDNs given the internet environment in China. |
|
More than half of readers to our doc are outside the mainland China, so we cannot improve performance in China by sacrificing the speed in other regions. |
Exactly, that's why my recommendations are globally optimised CDNs, including China and the world. However I do respect your thoughts and ideas; therefore please only took my view as a friendly advice :) |

jsdelivr, which is the default mathjax path in the sphinx, has been blocked in China. See jsdelivr/jsdelivr#18392. Of course, we hope our rendered equations can be shown in China.