CDN for UI5 library
Quoting the article in Wikipedia: Content delivery network – Wikipedia, the free encyclopedia
A content delivery network or content distribution network (CDN) is a large distributed system of servers deployed in multiple data centers across the Internet. The goal of a CDN is to serve content to end-users with high availability and high performance. CDNs serve a large fraction of the Internet content today, including web objects (text, graphics and scripts), downloadable objects (media files, software, documents), applications (e-commerce, portals), live streaming media, on-demand streaming media, andsocial networks.
Resuming, CDN is a place where some files are hosted to improve the user experience.
If lots of websites use jQuery, instead each one of them host their own jQuery files in their server, they use jQuery files hosted in a CDN server.
This is a good idea because they’ll save space and traffic in their own server at the same time they’ll share the cache in the user’s browser.
Google has a specific website to share the most popular javascript libraries: https://developers.google.com/speed/libraries/devguide
Microsoft has one as well: http://www.asp.net/ajaxlibrary/cdn.ashx
To make us happy, SAP has a CDN which provides UI5 libraries for our apps.
If your app runs on SAP ECC environment, you should use:
SAPUI5 – https://sapui5.hana.ondemand.com/resources/sap-ui-core.js
If your app has nothing to do with SAP, so you should use:
OpenUI5 – https://openui5.hana.ondemand.com/resources/sap-ui-core.js
Is this *really* a CDN? Does it have nodes in Australia. Still seems *VERY* slow serving UI5 resources from those links to Australia.
I got the files from Germany in my tests. I'm not sure if there are servers across the world, but we are encouraged to use this url.
I am with Jason - this is not really a CDN. It is the European servers.
There is an Asia Pac Server and a US server but having to change your URL to: sapui5.ap1.hana.ondemand.com
means that it is NOT a CDN.
If you go to jQuery CDN you will see that it is powered by CDN by MaxCDN | Content Delivery Network Services Max CDN
In this Stack Overflow Question CDN for SAPUI5 access - or alternate way to get fastest local access - Stack Overflow - this very question was raised.
One option is cdnjs.com which is being investigation by SAP.
Hopefully they will report soon.
Cheers,
Nigel
Now, as of January 2015 there is a real CDN with geo routing implemented for OpenUI5 (or more specifically, for everything below the URL https://openui5.hana.ondemand.com).
It does not only serve the data from the closest SAP data center (Germany, USA, Australia), but uses the popular Akamai CDN technology on top, which provides thousands of servers around the world.
See http://openui5.tumblr.com/post/108835000027/openui5-in-your-neighborhood-a-true-cdn-has-gone for more details.
Hi,
I am interested to work with openui5 framework for develop webapplications. please share me the details how to setup of the system.thanks in advance.
Regards,
Subhani.
hello ,
Is there a official CDN from where we can use jquery for a web application for customers within SAP.