Avoid Download Unused Javascript On Initial Page Load
(Doc ID 2889369.1)
Last updated on JANUARY 26, 2024
Applies to:
Oracle Commerce Cloud Service - Version 22.2.10 and laterInformation 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 |