2013年1月22日 星期二

cdnjs on google code

Since cdnjs is not stable in Asia, and google code also provide free, cdn support and unlimit bandwidth hosting. So I clone cdnjs project to google code from github.



Here is cloned project: https://code.google.com/p/cdnjs/

 It's very easy to migrate to google code:
  1. Find the assets from cdnjs official site
  2. copy assets url. e.g. http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.2.2/css/bootstrap-responsive.min.css
  3. replace cdnjs.cloudflare.com to cdnjs.googlecode.com/git

simple converter / replacer



由於 cdnjs 真的很慢,晚上有時候還連不到,寫信給他們,他們說謝謝,再研究看看,就沒下聞了。所以就直接 clone 他們的 project 到 google code 中。如果我忘了更新的話,就寫信跟我說一下吧!