-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Improve Site Performance with Lazy Loading and WEBP Images #5981
Comments
Hey @shivamgupta2020 Thanks a lot for the suggestions. I will have some comments...
Sounds good.
We will need a bash script that iterates over the website content and converts images to webp. We can't do this manuallly. However, let's talk about specifics later. We would need some data first, to see how much improvement there is. We would need 4 data:
I don't expect to see these numbers for the entire website. Only the homepage is enough. |
@aliok Metrics without |
@shivamgupta2020 what's the tool you've used to collect these numbers? I am curious. |
I used Google Lighthouse. |
/assign |
Hi @shivansh-bhatnagar18 , I've completed most of the work on this issue and am waiting for the maintainer's approval to raise a PR. You can contribute to other issues, so I'm unassigning you for now. |
@shivamgupta2020 Can you create a small POC for using |
/assign shivamgupta2020 |
@aliok |
Thanks @shivamgupta2020 I think I would go this route... I would create a PR with 2 things:
|
Hello @aliok, @shivamgupta2020! I followed the discussion, and this enhancement looks really interesting to me. If there's any way I can help, especially with the Python scripting part, I'm more than willing to do so. One aspect we need to consider is its impact on users with slower internet speeds, as it could cause layout shifting issues. For example, when I tested lazy loading on the first two images with a slow internet connection, there were noticeable layout shifts. While it's not a major issue, it's worth thinking about possible ways to mitigate it. What are your thoughts on this? |
Hi Rohit, |
@shivamgupta2020 I'll do some research regarding alternative ways to improve CLS and update you. |
This issue is stale because it has been open for 90 days with no |
Describe the change you'd like to see
Implement two changes to enhance site performance:
Additional context
These optimizations will reduce initial page load time and bandwidth usage, improving user experience and SEO.
The text was updated successfully, but these errors were encountered: