Article Details
Id:17835
Product:finPOWER Connect Cloud
Type:FIX
Version:3.03.05.15
Opened:02/02/2021
Closed:02/02/2021
Released:26/02/2021
Job: J025901

Bundling was disabled leading to many non-minified Script files being downloaded

Bundling is a way of combining multiple files, e.g., JavaScript files into a single file which means the web browser only needs to make a single request rather than a request for each script file (e.g., 20 requests).

Minification is a way to compress JavaScript files. It makes them less readable but in a production environment means that much less data is being transferred which can lead to faster page load times.

Both of these optimisations had been accidentally disabled for finPOWER Connect Cloud.

This could be witnessed by viewing the page source of the login page in a web browser. Below the "" comment, there were 22 script tags listed.

With bundling enabled, this is reduced to a single script tag that references a "/bundles" folder. Clicking this link shows that the JavaScript has been minified and is virtually unreadable.

NOTE: Because finPOWER Connect Cloud is a Single Page Application (SPA), these optimisations being disabled would have much less impact that it would on traditional websites and web applications.