{"action":"created","issue":{"url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/issues/46","labels_url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/issues/46/comments","events_url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/issues/46/events","html_url":"https://github.com/hexojs/hexo-theme-landscape/pull/46","id":123692425,"number":46,"title":"use jsDelivr CDN, update jQuery & fancybox versions","user":{"login":"tomByrer","id":1308419,"avatar_url":"https://avatars.githubusercontent.com/u/1308419?v=3","gravatar_id":"","url":"https://api.github.com/users/tomByrer","html_url":"https://github.com/tomByrer","followers_url":"https://api.github.com/users/tomByrer/followers","following_url":"https://api.github.com/users/tomByrer/following{/other_user}","gists_url":"https://api.github.com/users/tomByrer/gists{/gist_id}","starred_url":"https://api.github.com/users/tomByrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomByrer/subscriptions","organizations_url":"https://api.github.com/users/tomByrer/orgs","repos_url":"https://api.github.com/users/tomByrer/repos","events_url":"https://api.github.com/users/tomByrer/events{/privacy}","received_events_url":"https://api.github.com/users/tomByrer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-23T17:03:42Z","updated_at":"2015-12-24T03:07:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/pulls/46","html_url":"https://github.com/hexojs/hexo-theme-landscape/pull/46","diff_url":"https://github.com/hexojs/hexo-theme-landscape/pull/46.diff","patch_url":"https://github.com/hexojs/hexo-theme-landscape/pull/46.patch"},"body":"I'm a bit biased since I volunteer for jsDelivr :)  Here are the advantages vs `ajax.googleapis.com`\r\n+ can [collate all JS or CSS](https://github.com/jsdelivr/jsdelivr#load-multiple-files-with-single-http-request) into single file & HTTP request (slightly better net compression also).  The combined file is cached in the POP after 5+ calls.\r\n+ much better performance in [China](http://www.jsdelivr.com/features/network-map)\r\n\r\nThe chance of a browser's cache has `//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js` is very slim.\r\nWorks with my site, but I don't use jQuery of anything else by FancyBox.\r\n\r\njsDelivr also allows [version auto-updating](https://github.com/jsdelivr/jsdelivr#version-aliasing), but I personally don't recommend that past minor updates.  (eg `jquery@2.1,fancybox@2.1` will serve jQuery 2.1.5 & FancyBox v2.1.9 if/when available.)\r\n\r\nAccording to my brief tests here in Denver, speed is about the same for a website I'm working on, even though Google has a POP inside my city, & jsDelivr does not yet (will sometime).  Could be a more improvement gap if I [maxed out origin HTTP requests](http://tombyrer.github.io/slideshow-improving_load_times_with_cdns/#Browsers_HTTP_Connections) (eg had lots of pictures).\r\n\r\nThank you for all your hard work!"},"comment":{"url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/issues/comments/167033509","html_url":"https://github.com/hexojs/hexo-theme-landscape/pull/46#issuecomment-167033509","issue_url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/issues/46","id":167033509,"user":{"login":"Xuanwo","id":5351546,"avatar_url":"https://avatars.githubusercontent.com/u/5351546?v=3","gravatar_id":"","url":"https://api.github.com/users/Xuanwo","html_url":"https://github.com/Xuanwo","followers_url":"https://api.github.com/users/Xuanwo/followers","following_url":"https://api.github.com/users/Xuanwo/following{/other_user}","gists_url":"https://api.github.com/users/Xuanwo/gists{/gist_id}","starred_url":"https://api.github.com/users/Xuanwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xuanwo/subscriptions","organizations_url":"https://api.github.com/users/Xuanwo/orgs","repos_url":"https://api.github.com/users/Xuanwo/repos","events_url":"https://api.github.com/users/Xuanwo/events{/privacy}","received_events_url":"https://api.github.com/users/Xuanwo/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T03:07:53Z","updated_at":"2015-12-24T03:07:53Z","body":"I merge the patch for font loading, and other patch will be better to be included in a `jsDelivr landscape`.\r\n\r\nMaybe you can fork this repo or provide an option for user, and if option given, users may have more choice for CDN, such as cdnjs and so on.\r\n\r\nBTW, jsDelivr look good, I do like your work."}}