Here is my situation
I am creating some website that loads JavaScript from CDN like Google/jscdn.com. But some of them were totally blocked in China. But 50% of my visitors are from China and the other are from other countries. Is it possible to load one more source if the particular one is blocked?
For example, if googleapis.com
is blocked, I will load from lib.sinaapp.com
which is accessible from China. And I want to load them in given order: try googleapis.com
first then lib.sinaapp.com
.
Is it possible to do this without server-side code?
Thanks