[OPENAM-13469] RFE for OpenAM to reduce the filesize of main.js in XUI Created: 22/Aug/18  Updated: 24/Aug/18  Resolved: 24/Aug/18

Status: Closed
Project: OpenAM
Component/s: XUI
Affects Version/s: 5.5.1
Fix Version/s: 6.0.0

Type: Improvement Priority: Minor
Reporter: Ashley Hale Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: main.js
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Support Ticket IDs:

 Description   

Opening this request on behalf of our customer to reduce the size of the main.js file.  

Customer reports on AM 5.5.1
I am currently helping upgrade to AM 5.5.1 within my organization and working on customizing the XUI components. The stock main.js file used by the XUI currently sits at ~558 KB, but this is too much for our needs.

How can this file be minimized? 

There was a similar  OPENIDM-8070 document process for building and redeploying main.js but that was closed/rejected as it was getting too customized to properly support.  As in Support would never be able tell if the customer reporting an issue on standard OOTB functionality is using a custom main.js or not (unless it is always provided and noted in each customer case...).

Also -  CUI-62 Ability to load javascript modules asynchronously, as needed.   Is listed as fixed and it looks like there were changes in AM 6+ breaking out the *.js files in the same location.  But I'm not 100% sure, so opening this RFE today to learn if this is a valid request or work has been done... And if anything can be done in AM 5.5.1 (TBD).



 Comments   
Comment by Andrew Vinall [ 22/Aug/18 ]

Bug Triage: Changes were made in AM-6.0.0 that will reduce its size. It is unlikely that we will backport the changes.

Generated at Tue Nov 24 00:58:08 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.