My Oracle Support Banner

Avoid Download Unused Javascript On Initial Page Load (Doc ID 2889369.1)

Last updated on AUGUST 25, 2022

Applies to:

Oracle Commerce Cloud Service - Version 22.2.10 and later
Information in this document applies to any platform.

Goal

The performance report (measured using several online tools) shows that some of the downloaded Javascript files are blocking the critical rendering path.

Is there any way to optimize the following files:

- main.js (Different view models and Javascript files are bundled in the main.js file but they're not needed at initial load of the page)

- store-libs.js

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.