usnationalarchives / nara-bia-photos

0 stars 0 forks source link

I see a lot of "loading" issues. If Pam reviews this will bother her. Do we need to increase server sizes? #192

Closed lizzycederberg closed 3 years ago

lizzycederberg commented 3 years ago

Screenshot_2020-10-21_11-11-07.png

Steps to reproduce: clicking on any main topics seems to have a delay anywhere from seconds to 10+ seconds.

Actual result:

Expected result: Pam will expect less than 2 second response.

Issue resolved? Notify reporter via Marker.io


More Info

Reported by: Jim Mischke (james.mischke@nara.gov)

Source URL: https://nara-bia-photos.herokuapp.com/

BrowserChrome 86.0.4240.75
Screen Size1280 x 1024
OSWindows 10
Viewport Size1280 x 881
Zoom Level100%
Pixel Ratio@​1x
lizzycederberg commented 3 years ago

@matbrady @danielboggs Any recommendations here? We do still need to add the loading states #70 #42 which I think will help but can we also do anything to decrease load times?

danielboggs commented 3 years ago

@lizzycederberg @matbrady I have added the page loading animations across the site. These loading times are not related to server capacity. Since we are code splitting the JavaScript bundles for the various top level sections of the site, as the user navigates to different sections the browser has to download and process these bundles which contain all of the record data used within the given section. Once a user has navigated to a given section they will never incur a loading animation for that same section of the site again unless an update to the application is deployed.

lizzycederberg commented 3 years ago

I'm going to share this update with NARA and see how they feel