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
Landing optimizations #8030
Landing optimizations #8030
Conversation
✅ Deploy Preview for koda-canary ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
SUCCESS @shashkovdanil PR for issue #4657 which is assigned to you. Please wait for review and don't hesitate to grab another issue in the meantime! |
Related as noticed adding |
@Gavin-Gong please tell me how to reproduce it, or maybe you have errors in the console? |
@yangwao ye it's related, I think we can keep my version, I've tested it in different browsers, also configured caching |
current preview looks like this |
tbh, I would prefer to revisit the issue after SSR is supported |
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.
tbh, I would prefer to revisit the issue after SSR is supported
up
@preschian I can help with SSR task if you don't mind. I've had a lot of experience with it |
here was iirc some work done |
@shashkovdanil you can keep these improvements if you want:
but please, skip prefetch stuff for now |
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.
I've noticed that #7924 loads on explorer items much faster than this PR, curious why
@preschian jfyi it's ready for merge |
Seems fonts has changed as @prury reported
For first loads I wasn't able connect pjs |
@shashkovdanil sorry for the trouble, but connect wallet problem persists |
Code Climate has analyzed commit ad2109c and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@prury ufff it was crazy bug. If you import the |
oh 😄, thank you for rewriting, wallet bug is now gone |
Great, we've gained in performance, yet it seems we've lost some points in best practices, you might have a look @shashkovdanil, please ? |
@yangwao, I did a check and got this result. Deviations of 5-7 units are more of a margin of error. In this PR, I didn't change anything SEO or a11y related |
By the way, I can help improve the accessibility of the site in the future. Fix keyboard navigation, put a11y attributes everywhere. If you have a request for this |
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.
code lgtm
Sure, you can make follow-up! I think primarily performance would help keep it on green currently LCP, CLS and so on |
Did not notice anything broken, let's see, merging it, great PR @shashkovdanil thanks! pay 80 usd |
pay 80 usd updated your address based on previous PR |
😍 Perfect, I’ve sent the payout 🪅 Let’s grab another issue and get rewarded! |
PR Type
Refactoring, Performance optimizations
Context
Closes #4657
Had issue bounty label?
What I've done
@nuxtjs/google-fonts
Before (360kb):
After (50kb):
@nuxt/image
and convertingpng
towebp
, for exampleBefore (650kb):
After (3kb):
Huge
highlight.js
to lightweightPrism
Load huge
@google/model-viewer
only if theModelMedia
component is in the viewportFixed lodash imports (only
import someFn from 'lodash/someFn'
)Disabled prefetch for nuxt links. It's really big nuxt js problem: by default nuxt does prefetch for all pages and layouts, which is very bad for performance as we load a ton of unused JavaScript, currently there is no solution other than disabling prefetch for links manually. This problem is faced by many nuxt users, here is the issue Nuxt 3 prefetch all assets from every pages and every layouts. nuxt/nuxt#13778