Optimize Application Startup Using Oracle CDN and Oracle JET Libraries

You can configure the Oracle JET application to minimize the network load at application startup through the use of Oracle Content Delivery Network (CDN) and the Oracle JET distributions that the CDN supports.

When your production application supports users who access the application from diverse geographical locations, you can perform a significant performance optimization by configuring the Oracle JET application to access Oracle CDN as its source for loading the required Oracle JET libraries and modules. Oracle maintains its CDN with the libraries and module that are specific to a given Oracle JET release. The CDN support for each release is analogous to the way Oracle JET tooling also supports copying these files into the local src folder of the application for a particular release. In both cases, access to the appropriate libraries and module is automated for the application developer. You configure the application to determine where you want the application to load the libraries and module from.

After you create your application, the application is configured by default to load the needed libraries and modules from the local src folder. This allows you to create the application without the requirement for network access. Then, when you are ready to test in a staging environment or to move to production, you can configure the Oracle JET application to use CDN server replication to reduce the network load that occurs when users access the application at the start of a browser session. When the user initially starts the application in their browser, Oracle CDN ensures a distributed server closest to the geographic location of the user is used to deliver the application's needed third party libraries and Oracle JET modules to the user's browser.

Configuring the application to load from CDN offers these advantages over loading from the application src folder:

  • Once loaded from a CDN distribution server, the required libraries and module will be available to other applications that the user may run in the same browser session.

  • Enables the option to load bundled libraries and module using a bundles configuration file that Oracle maintains on CDN. The bundles configuration file groups the most commonly accessed libraries and modules into content packages that are specific to the release and makes them available for delivery to the application as a bundle.

Tip:

Configuring your application to reference the bundles configuration on Oracle CDN is recommended because Oracle maintains the configuration for each release. By pointing your application to the current bundles configuration, you will ensure that your application runs with the latest supported library and module versions. For information about how to enable this bundle loading optimization, see About Configuring the Application for Oracle CDN Optimization.