-
Notifications
You must be signed in to change notification settings - Fork 9
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
Web perf: Audit and improve blocking resources #2493
Comments
After looking over the recommendations from the WebPageTest report linked above and then looking through our code, I think there are a few efforts here that are independent of one another. Each effort alone requires a decent amount of work, so I think it'd be best to split them out into separate tickets. Small note about the WebPageTest reportThe report is from before #2526 and #2523, so some of the recs in the report are a little out-of-date. I ran another test today, but note that we haven't released those changes to prod yet, so the report is the same. I can use Lighthouse reports to analyze current performance and improvements, and the point still stands that we need to reduce the number of resources that block page rendering. Here's what I think should be split out: Eliminating / improving render-blocking resourcesProblems: From WebPageTest report on benefits.calitp.org From Lighthouse report on my localhost Improvements for loading Javascript
Improvements for loading CSS
Using compressionThis ticket also mentions "compressing/minifying files" and links to a page that has a few different sections on using compression:
Also, see #2487 (comment) It sounds like the focus in terms of this ticket is on compressing the JS/CSS files before they are sent. I wanted to note that in Lighthouse reports of our site, there is a recommendation that we enable compression of text-based resources: From Lighthouse report on my localhost This would correspond with the section
|
RE: compressing the HTTP response... We do have But there are many more configuration options that we could look into: https://www.slingacademy.com/article/nginx-gzip-compression-complete-guide/ |
This ticket is part of a group of web performance tickets tracked here #2487.
Acceptance Criteria
async
defer
pre-connect
for our various JS/CSS third-party resources.Additional context
The text was updated successfully, but these errors were encountered: