question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Performance] Image Optimization <img> to <StaticImages> in the Meshery page

See original GitHub issue

Current Behavior

The .png and .jpg images cause a lot of performance issues Desired Situation

Change to for image optimization in the handbook section. eg https://github.com/layer5io/layer5/pull/2597 StaticImagePlugin

[Optional] Alternatives

[Optional] Additional context


Contributor Resources

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
deveshXmcommented, Sep 16, 2022

@siddheshJungade i am already working on it

1reaction
Jonathan-Foocommented, Aug 31, 2022

Hi @deveshXm, Yes you have to replace img elements you find with Gatsby’s StaticImage component, but don’t do it if the image source is an .svg, because it will lower the quality. Yep, you are in the right folder.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Performance] Image Optimization <img> to <StaticImages> in ...
[Performance] Image Optimization <img> to <StaticImages> in the handbook ... The layer5.io website uses Gatsby, React, and GitHub Pages.
Read more >
How To Optimize Images for Web and Performance (2022)
Save images as “optimized for web” in tools such as Photoshop. Use WebP in Chrome to serve up in smaller images.
Read more >
Performance: Optimizing Images on Gatsby Sites - This Dot Labs
Performance : Optimizing Images on Gatsby Sites Our Labs website is ... The static images can be easily fixed by replacing all uses...
Read more >
How to Optimize Images to Improve Web Performance
Follow these steps to optimize your images and improve web performance. Part 1 of Blue Triangle's Accelerator Blog Series.
Read more >
Optimize Images & Boost Performance of Your Statically ...
Learn how to serve dynamic images on your static site without affecting performance.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found