Hacker News new | past | comments | ask | show | jobs | submit login

Last year I went to China, wanted to show a web project I had in internet and it didnt work at all.

My hosting was working perfectly and not blocked at all since I could SSH there. Then I realized that I had some jquery loading from a Google CDN and of course the cdn was banned there. And of course CSS fonts from google and youtube videos didnt work either...

I learned 2 lessons.

1) dont rely on CDNs if you want to have global access. Host everything your self and check that your hosting or any of the mirrors can be accessed everywhere.

2) How long Google tentacles are (and we always keep forgetting)...




> dont rely on CDNs if you want to have global access

So don't rely on CDNs for their primary purpose?


Yes.


Seems like the "lessons" you learned was to blame others for what the Chinese government did.

- Google being blocked in China is out of their control regardless of their "tentacles". It's well know, try another CDN.

- As already mentioned, don't use a CDN for the purpose CDNs exist. Thats really baffling to me.

Sorry, this post wasn't so productive but I'm really confused by OP.


I reread my comment and I dont see any place where I blame others... Im just told my story, not blaming any body and mentioned how big is google, thats all anyway...


There are many other "official" jquery CDNs (well, there is a real official one by jquery powered by someone else, and there are Google/Microsoft/etc. ones which are listed on: http://jquery.com/download/). Just don't use the Google one and you're ok. If you're worried about future blocks, just keep monitoring (there are services that tell you if a domain is blocked in China or not), and switch your jquery CDN if one is blocked. Microsoft one is almost surely going to be OK (at least for a long time).


Yup, and this makes it even more problematic that Google is forcing us developers to use their services more and more on Android.

There are users in other countries, users in corporate intranets, users on Amazon Kindle devices, users on open source Android ROMs.

None of these will have access to the required Google services.

But we can’t make apps without them anymore.


Or just don’t worry about China.


It's kind of funny that people worry about users on Safari, and [here] you suggest "ignore 18% of the world's total population".


In fact, it makes more sense to develop an app for the Chinese market than to develop one for iOS based on pure userbase numbers (obviously, for many companies that only operate in the US, this doesn’t make sense, but if you’re, say, an open source project, it might)


If you want to access from china, it cannot get more speed without CDN. So give up china:)


well, it was my personal website and I wanted to show my own projects from there... I just forgot I was using CDNs from google since I wrote the site 6 years ago...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: