Skip to Content

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

6 Comments
You must be Logged on to comment or reply to a post.