GameMonetize Posted March 24, 2015 Share Posted March 24, 2015 You can use our CDN to reference our latest stable versions:http://cdn.babylonjs.com/1-13/babylon.jshttp://cdn.babylonjs.com/1-14/babylon.jshttp://cdn.babylonjs.com/2-0/babylon.jshttp://cdn.babylonjs.com/2-1/babylon.jshttp://cdn.babylonjs.com/2-1/babylon.max.jshttp://cdn.babylonjs.com/2-1/babylon-noworker.jsPerformance and smaller size RaananW, jerome, Vousk-prod. and 1 other 4 Quote Link to comment Share on other sites More sharing options...
jerome Posted March 24, 2015 Share Posted March 24, 2015 no nightly build ...nightly pushed there too ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 24, 2015 Author Share Posted March 24, 2015 No nightly because too much updates Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 24, 2015 Share Posted March 24, 2015 Wonderful news, thanks a lot! Quote Link to comment Share on other sites More sharing options...
jerome Posted March 25, 2015 Share Posted March 25, 2015 for the nightly build, I suppose the raw github link would work : https://raw.githubusercontent.com/BabylonJS/Babylon.js/master/babylon.2.1-alpha.js in html code <script src="https://raw.githubusercontent.com/BabylonJS/Babylon.js/master/babylon.2.1-alpha.js"></script>didn't test ... Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted March 25, 2015 Share Posted March 25, 2015 for the nightly build, I suppose the raw github link would work : https://raw.githubusercontent.com/BabylonJS/Babylon.js/master/babylon.2.1-alpha.js in html code<script src="https://raw.githubusercontent.com/BabylonJS/Babylon.js/master/babylon.2.1-alpha.js"></script>didn't test ... I tried that for boobies. It worked fine for me, but some browsers have strict mime types & it blows up. jerome 1 Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted March 25, 2015 Share Posted March 25, 2015 Also, think this should be pinned. Dad72 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted March 25, 2015 Share Posted March 25, 2015 yep, the http response header is Content-Type: text/plain; charset=utf-8 and not application/javascript Maybe I'll host a nightly copy of this file somewhere on one of my servers here soon ... for you guys Dad72 1 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 25, 2015 Share Posted March 25, 2015 I agree with JCPlamer. this could be pinned. It would be cool if Jerome's servers is updated version in real time. Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 26, 2015 Share Posted March 26, 2015 Links for serving raw content from github: Dev (a chance of blacklisting if the file is used on high traffic pages!) - https://rawgit.com/BabylonJS/Babylon.js/master/babylon.2.1-alpha.jsProduction (cached! might be relatively old) - can be used on high traffic websites.https://cdn.rawgit.com/BabylonJS/Babylon.js/master/babylon.2.1-alpha.js So, for local devs : you could use<script src="https://rawgit.com/BabylonJS/Babylon.js/master/babylon.2.1-alpha.js"></script> jerome, Dad72 and Vousk-prod. 3 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted April 20, 2015 Share Posted April 20, 2015 https://cdn.rawgit.com/BabylonJS/Babylon.js/master/babylon.2.1-alpha.js is not found Quote Link to comment Share on other sites More sharing options...
MarianG Posted April 20, 2015 Share Posted April 20, 2015 https://cdn.rawgit.com/BabylonJS/Babylon.js/master/babylon.2.1-alpha.js is not found now is babylon.2.1-beta.js. try https://cdn.rawgit.com/BabylonJS/Babylon.js/master/babylon.2.1-beta.js Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted April 20, 2015 Share Posted April 20, 2015 Is it possible that once a version is a release candidate, that a provisional CDN be made? I have a set of test scenes that are using CDN 2-0, if I wanted to test prior to production, should I not just change to CDN 2-1? It might not run, but is not that kind of the point? Once the final print occurs, I then do not have to remember to switch from rawgit or clean up temp copies. I do not really know what CDN is or "beta" for that matter, so do not how big an ask ($) this is. Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted April 20, 2015 Share Posted April 20, 2015 Hmm, just to add my two cents, once a file is on a CDN, shouldn't it be never removed to avoid "not found" on projects already in production ? [shouldn't it be never removed... is this a correct english sentence ? "ne devrait-il pas ne jamais être"... ohaa comment on traduit une tournure pareille ? :D ] Quote Link to comment Share on other sites More sharing options...
RaananW Posted April 21, 2015 Share Posted April 21, 2015 the official CDN is managed by Deltakosh - (newest) http://cdn.babylonjs.com/2-0/babylon.js . The others are simply a proxy to github (that delivers text content and not javascript, so it cannot be used directly).The rawgit files are actually a "hack" to get the latest version out of a CDN. It is not officially maintained by the BabylonJS developers. So once the filename changed in github (from alpha to beta) rawgit stopped working. Rawgit is also mainly for development, always expect changes while developing :-) Just a side note (and a personal opinion) - only final versions are available in CDNs. 2.1 is in not. I wouldn't use it in production anyhow. CDNs should be (mainly) used in production pages. That's why 2.1 is not (yet) maintained on the official cdn page. And that's why the CDN only delivers minified compressed versions. Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted April 21, 2015 Share Posted April 21, 2015 Production (cached! might be relatively old) - can be used on high traffic websites.https://cdn.rawgit.com/BabylonJS/Babylon.js/master/babylon.2.1-alpha.js Ah, ok I didn't get exactly what rawgit is, assuming it's also designed for production Quote Link to comment Share on other sites More sharing options...
RaananW Posted April 21, 2015 Share Posted April 21, 2015 Yep, you are right. Was probably wrong of me to write this sentence without explaining what rawgit actually is :-) Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted May 22, 2015 Share Posted May 22, 2015 Is that CND able to absorb 2'000'000 views / month ? Can we also have https access ?(Most of our users access our tools via SSL, and for some framework every link inside a single page should be SSL to be able to work) Quote Link to comment Share on other sites More sharing options...
jerome Posted May 22, 2015 Share Posted May 22, 2015 Arf ... 2 000 000 access a month is only 46 downloads (average) per minute ... peanuts for any web server The right measure is rather how much it can handle ... per second.But I don't think the bottleneck is here. The SSL access is a real problem Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted May 22, 2015 Share Posted May 22, 2015 I also thought a CDN was a mirror network not a single host. Different hosts being placed in different parts of the world, gives lower latency. 2nd, since the .js is public, the https is only preventing alterations, not secure communications. I have never heard every link must be SSL before. Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted May 22, 2015 Share Posted May 22, 2015 For most e commerce CMS, HTTPS access to a page that load an insecure script is impossible. To ensure complete security every single part of the content (even external scripts) must be served over HTTPS, otherwise the page request is blocked. Quote Link to comment Share on other sites More sharing options...
jerome Posted May 22, 2015 Share Posted May 22, 2015 Actually, it's not forbiden to have http and https resource in the same web page, but ... all major browsers now refuse to load any un-crypted resource within a html page coming from a https request. Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted June 2, 2015 Share Posted June 2, 2015 I've put on JSdelivr CDN a good stable 2.1 beta tested and approved for one month in production environnement before we release the 2.1 final, so this well working beta version will stay here for production sites for people who can't update to 2.1 final (because of too many changes, particularly in camera system, for instance _update methods replaced everywhere was a mess for my projects ).The interest also is SSL support. //cdn.jsdelivr.net/babylonjs/2.1-beta/babylon.min.js I also put the 2.0 final ://cdn.jsdelivr.net/babylonjs/2.0/babylon.min.js And I'll put the 2.1 final when ready. JCPalmer 1 Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted June 10, 2015 Share Posted June 10, 2015 Hello, I think the CDN 2-1 is not the very last. When I load babylon from there, still get those camera rig typos. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 11, 2015 Author Share Posted June 11, 2015 Yep CDN is updating (it takes 7 days for some reason) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.