-
Notifications
You must be signed in to change notification settings - Fork 26
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
🚀 Performance improvements to docs based on Lighthouse recommendations #817
Conversation
0cf0d2b
to
6110143
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!! 🚀 🚀 🚀
I noticed that not just the performance, but also the accessibility score improved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops! It looks like the syntax highlight CSS is not loading in the preview https://effection--tm-fix-lighthouse-suggesti.deno.dev/docs/resources
I wonder what's going on. There are some warnings on the console:
@cowboyd try it now |
@cowboyd, what is the branch protection rule that's not satisfied? |
@taras It looks like your commits aren't signed... |
![Recommendation to load CSS async](https://github.com/thefrontside/effection/assets/74687/f4df77ac-5509-459a-bc21-01fbef1424ed) Signed-off-by: Taras Mankovski <taras@frontside.com>
Signed-off-by: Taras Mankovski <taras@frontside.com>
Signed-off-by: Taras Mankovski <taras@frontside.com>
Signed-off-by: Taras Mankovski <taras@frontside.com>
@see https://stackoverflow.com/a/46750893 Signed-off-by: Taras Mankovski <taras@frontside.com>
f870a1f
to
777a869
Compare
@cowboyd I pushed signed commits, but it's still not happy. |
Motivation
I noticed that Effection docs site is loading slowly.
Approach
Add preload to CSS resource as per recommendations.
Added width/height to images to prevent render jank
Increased contracts of links in the footer
Updated dependencies
Screenshots