Bug 1819033 - Combine JS files as much as possible
Summary: Combine JS files as much as possible
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: User Interface
Version: 5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 5.0-RH11
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-31 02:21 UTC by Jeff Fearn 🐞
Modified: 2025-10-16 23:56 UTC (History)
2 users (show)

Fixed In Version: 5.0.4-rh41
Clone Of:
Environment:
Last Closed: 2020-04-06 00:15:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Jeff Fearn 🐞 2020-03-31 02:21:00 UTC
Description of problem:
Currently there are a lot of JavaScript files, this can cause a problem when users are automatically refreshing a lot of tabs.

Version-Release number of selected component (if applicable):
5.0

How reproducible:
Easy

Steps to Reproduce:
1. Load a page
2. refresh page

Actual results:
Up to 29 JS files checked

Expected results:
<= 6 JS files checked

Additional info:
6 is a guess, it may not be possible to go this low.

The technique used to consolidate the files can break some JS, so extensive testing may be required.

This can be done by pushing JS files on to javascript_urls array.

Comment 1 Jeff Fearn 🐞 2020-04-01 01:26:20 UTC
QE Note: This reduces the number of JS files delivered to the user to 3. Concatenating the JS files this way could have unforeseen effects in the UI, this means every JS based feature needs to be tested logged in, logged out, and after logging in or out.

Comment 4 Jeff Fearn 🐞 2020-04-06 00:15:59 UTC
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.


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