-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Research: Improve homepage load time (currently ~1.9 seconds) #3711
Comments
The two data visualizations(election search and raising/spending ) that we load below-the-fold on the homepage, may be effecting performance. They are loaded via Django templatetags. |
Addressing inefficiencies in our JS and Webpack configuration and approach is a heavy task that should probably be spun off into another ticket. (The below list of possible corrective measures, is by no means, exhaustive) The size of our compiled Javascript creates a possible opportunity or performance improvement for the homepage and other pages based on the the Google insights results. (First screenshot below) and running Webpack analyzer locally, (second screenshot below). Based on research using Webpack Analyzer and previous Innovation sprint research done by @rfultz, there is no one change to Possible For homepage: For other pages:
Google Insights https://developers.google.com/speed/pagespeed/insights/?url=www.fec.gov:Webpack analyzer plugin running locally, looking at homepage (fec.gov): |
I've created tickets based on my findings and experiments ☝️ |
Closing this as the other tickets have been created. For the record, there's a branch of code whose name starts with |
User story As a first-time visitor to fec.gov, I'm more likely to give up and leave if the homepage takes more than a second to load.
We should identify easy ways to improve the homepage load time. At 1.9 seconds, Pingdom gives us a
C grade
and has an interesting report.Not an exclusive list of things to check:
Pingdom
https://my.pingdom.com/app/reports/rbc/5304992
Google speed test
https://developers.google.com/speed/pagespeed/insights/?url=www.fec.gov
Action item
Completion criteria:
The text was updated successfully, but these errors were encountered: