Bug 2131392 - Uncompressed version of a JS script is being provided to the browser (dynamic plug-in)
Summary: Uncompressed version of a JS script is being provided to the browser (dynamic...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Console
Version: rhacm-2.7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: rhacm-2.7
Assignee: Kevin Cormier
QA Contact: dhuynh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-30 20:46 UTC by Atif
Modified: 2022-10-28 14:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-28 14:55:45 UTC
Target Upstream Version:
Embargoed:
bot-tracker-sync: rhacm-2.7+


Attachments (Terms of Use)
Loading search page (849.30 KB, image/png)
2022-09-30 20:46 UTC, Atif
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github stolostron backlog issues 26091 0 None None None 2022-10-01 00:29:34 UTC

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


Note You need to log in before you can comment on or make changes to this bug.