meshery.io icon indicating copy to clipboard operation
meshery.io copied to clipboard

Low Lighthouse score of Meshery.io

Open Udit-takkar opened this issue 2 years ago β€’ 28 comments

Description

meshery.io is failing the Core Web Vitals Assessment

Mobile performance score is between 20-40

Check here:- https://pagespeed.web.dev/report?url=https%3A%2F%2Fmeshery.io%2F&form_factor=mobile

Expected Behavior

The landing page should pass the Core Web Vitals Assessment

Screenshots

Screenshot 2023-01-15 at 9 32 57 PM

Enviroment:

  • OS: Mac Linux Windows
  • Browser: Chrome Safari Firefox
  • Version:
  • Device: Desktop Mobile

Contributor Guides and Handbook

The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

Udit-takkar avatar Jan 15 '23 16:01 Udit-takkar

Thanks for opening this issue. A contributor will be by to give feedback soon. In the meantime, please review the Meshery Contributors' Welcome Guide and sure to join the community Slack.

welcome[bot] avatar Jan 15 '23 16:01 welcome[bot]

Hey @Udit-takkar, do you have any suggestions on how we can improve it

Yashsharma1911 avatar Jan 16 '23 18:01 Yashsharma1911

@Yashsharma1911 will have to test a lot of things with lighthouse report and use some concepts learned from here https://github.com/layer5io/layer5/pull/3572#event-8239131553. Some things like lazy loading below the fold images, using images of webp quality, properly loading the third party code, preloading fonts ... etc.

Udit-takkar avatar Jan 16 '23 18:01 Udit-takkar

Hey, @Udit-takkar are you still working on this?

Yashsharma1911 avatar Feb 07 '23 16:02 Yashsharma1911

@Yashsharma1911 yeah will start after 17 when my exams end

Udit-takkar avatar Feb 07 '23 17:02 Udit-takkar

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 10 '23 06:03 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 09 '23 10:04 stale[bot]

Hey @Yashsharma1911 , I have some ideas on how to make it better by reducing render blocking time. Can I work on this issue?

saisuvanth avatar May 03 '23 10:05 saisuvanth

@saisuvanth yeah go ahead

Udit-takkar avatar May 04 '23 20:05 Udit-takkar

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 08 '23 14:06 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 12 '23 05:07 stale[bot]

@Udit-takkar are you still working on this issue?

iArchitSharma avatar Oct 06 '23 17:10 iArchitSharma

Reanalyzed the assessments; improvements have been made. image

iArchitSharma avatar Nov 10 '23 19:11 iArchitSharma

Is it possible to increase the performance more? @iArchitSharma

Savio629 avatar Nov 11 '23 09:11 Savio629

@Savio629, yes, it can be, check the recommendations in the Opportunities section of the results

iArchitSharma avatar Nov 12 '23 13:11 iArchitSharma

Hello, I would like to give this one a try!

Akshun-01 avatar Dec 22 '23 09:12 Akshun-01

Please go ahead, also try sharing your progress as you go so that others can help you if needed ^^

Yashsharma1911 avatar Dec 22 '23 18:12 Yashsharma1911

Hey, Just dropping the update on this.

Changed the .gif files to .webp format.

( I tried webm and mpeg4 as it suggested but they were not working so I used webp instead)

This is the before and after change :

Before

image

After (best practice is low because of using local host instead of https)

image

Should I start a draft PR, or make a PR after making considerable changes? @Yashsharma1911

Akshun-01 avatar Dec 23 '23 21:12 Akshun-01

Hey this is good πŸ‘, yes please raise a draft PR so that others can provide a review as you go.

Yashsharma1911 avatar Dec 24 '23 02:12 Yashsharma1911

Hi does this issue still needs to be addressed ? I ran a lighthouse test and the performance metric is currently at 53. I'd like to give this a go and target to touch 80-ish.

tayyab-ilyas avatar May 01 '24 21:05 tayyab-ilyas

Hey yes this is still an area for help, and target sounds good too, you can work on it, also as you go and explore ways to increase lighthouse score I'll suggest to create draft PR so that maintainers can provide you feedback along the way

Yashsharma1911 avatar May 01 '24 23:05 Yashsharma1911

Hi @Yashsharma1911 I tried a bunch of stuff like deferring scripts, preloading CSS, and even tested out WebP format for assets but still no significant improvements in performance. I'll try to work on some other issue now. I hope that I didn't waste your time here. thanks!

tayyab-ilyas avatar May 06 '24 16:05 tayyab-ilyas

@Yashsharma1911 @sudhanshutech please assign this issue to me , I would like to give it a try

shubhusion avatar Jul 07 '24 18:07 shubhusion

checked it out, i would like to work on this
image

akshansh-modi avatar Jul 30 '24 03:07 akshansh-modi

Hey @shubhusion thanks for jumping in. Yes please go ahead just to be ensure it would be thing to discuss also while you will fixing this issue that what are the best practices so please regularly share your progress if you would. And @akshansh-modi please you also chime in with @shubhusion to help if you would.

sudhanshutech avatar Aug 12 '24 13:08 sudhanshutech

Lighthouse Audit Results


Desktop

Lighthouse Score for Desktop

Lighthouse Score for Desktop


Mobile

Lighthouse Score for Mobile

Lighthouse Score for Mobile


Next Steps

I will start with Improving the accessibility score to enhance the overall user experience.

@sudhanshutech

shubhusion avatar Aug 14 '24 09:08 shubhusion

Results After Improving the Accessibility of the Website

image

The accessibility score has improved from 74 to 95.

@sudhanshutech

shubhusion avatar Aug 14 '24 14:08 shubhusion

@Sudhanshutech @VishalVivekm

To enhance performance, I plan to:

  1. Convert GIFs to WebM video format.
  2. Convert select PNG images to WebP format.

Additionally, to further improve website accessibility, I plan to add captions to the main video on the Meshery homepage, making it easier for hearing-impaired users to access the content. Please provide me with the caption file for the video.

let me know your thoughts on my plan.

shubhusion avatar Aug 14 '24 18:08 shubhusion