Skip to content
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

docs(homepage): lazy load images #7706

Merged
merged 1 commit into from
Aug 27, 2024
Merged

docs(homepage): lazy load images #7706

merged 1 commit into from
Aug 27, 2024

Conversation

chenjiahan
Copy link
Member

@chenjiahan chenjiahan commented Aug 27, 2024

Summary

Lazy load images for performance.

  • before:
Screenshot 2024-08-27 at 17 27 36
  • after:
Screenshot 2024-08-27 at 17 29 59

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack. labels Aug 27, 2024
Copy link

netlify bot commented Aug 27, 2024

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 48dd905
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66cd9d9983d3e70008e1b771
😎 Deploy Preview https://deploy-preview-7706--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@chenjiahan chenjiahan merged commit 2d7f233 into main Aug 27, 2024
35 checks passed
@chenjiahan chenjiahan deleted the homepage_lazy_image_0827 branch August 27, 2024 09:36
@SoonIter
Copy link
Member

it is a track worth recording :D

@chenjiahan chenjiahan mentioned this pull request Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants