Bug 2131392

Summary: Uncompressed version of a JS script is being provided to the browser (dynamic plug-in)
Product: Red Hat Advanced Cluster Management for Kubernetes Reporter: Atif <ashafi>
Component: ConsoleAssignee: Kevin Cormier <kcormier>
Status: CLOSED CURRENTRELEASE QA Contact: dhuynh
Severity: high Docs Contact:
Priority: unspecified    
Version: rhacm-2.7CC: ecai, huichen, nagbetra
Target Milestone: ---Flags: bot-tracker-sync: rhacm-2.7+
Target Release: rhacm-2.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-28 14:55:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Loading search page none

Description Atif 2022-09-30 20:46:20 UTC
Created attachment 1915353 [details]
Loading search page

Description of problem:
An uncompressed version of a JS script is being provided to the browser when loading Search (/multicloud/home/search) or Application (/multicloud/applications) page using ACM dynamic plug-in causing severe delays in loading the page.

Script: /api/plugins/acm/528.66722b1f.js

ACM versions tested: 2.7.0-DOWNSTREAM-2022-09-21-20-47-21, 2.7.0-DOWNSTREAM-2022-09-28-02-17-12

Browser: Chrome

Additional info:
The longest req ('/api/plugins/acm/528.66722b1f.js') is over 7 MB.

Please find the attachment for more info.

Comment 1 Napoco Agbetra 2022-10-06 20:36:09 UTC
Verified on 2.7.0-DOWNSTREAM-2022-10-06-10-54-50, OCP 4.11.7, and Chrome
JS script files have smaller size (largest is 1.6 MB) and there is no delay in page loading