[FOLIO-785] Consolidate 20+ requests for module version info etc, from stripes front page, into a few Created: 17/Aug/17  Updated: 18/Jan/19

Status: Open
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Umbrella Priority: P3
Reporter: Niels Erik Nielsen Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 2 hours
Original estimate: Not Specified

Attachments: PNG File Screenshot from 2017-08-17 20-40-49.png    
Issue links:
Blocks
is blocked by OKAPI-385 Provide module version information fo... Closed
Relates
relates to STCOR-58 Root rerenders over 20 times Closed
Sprint:
Development Team: Core: Platform

 Description   

We're doing some up-front loading of module info etc on the start page - before login. It comes to over 30 requests on folio-testing at the time of writing. As we add more modules the number will only grow.

If most of those Okapi requests could be consolidated into one or a few, it would probably reduce load-time and prevent redrawing.

Seems Chrome executes max 6 requests simultaneously, meaning that the 30+ requests go off in 7 to 8 batches. On a 8-10 Mbit/s connection it can take to 3-4 seconds before the bundle and all modules and SSO info are retrieved.

During this time the folio-address will flicker (in chrome) as the page is repeatedly redrawn. It may be (particularly) visible because we use http which makes Chrome issue security warnings.

So, a fast user can actually give the username field focus, maybe type a few letters, just to loose it again and start over


Generated at Thu Feb 08 23:08:18 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.