Skip to content

perf: add loading="lazy" to below-fold images#281

Merged
andygrunwald merged 1 commit intomainfrom
perf/lazy-load-images
Mar 21, 2026
Merged

perf: add loading="lazy" to below-fold images#281
andygrunwald merged 1 commit intomainfrom
perf/lazy-load-images

Conversation

@andygrunwald
Copy link
Member

Summary

  • Add native loading="lazy" to all below-fold images across the site
  • Affects homepage (macbook frames, illustrations, pricing icons), blog/changelog previews, and single post cover images
  • Above-fold hero screenshot is kept eager for fast LCP

Test plan

  • astro build succeeds
  • Verify images still load correctly when scrolling down the page

🤖 Generated with Claude Code

@netlify
Copy link

netlify bot commented Mar 21, 2026

Deploy Preview for lively-frangollo-e43a02 ready!

Name Link
🔨 Latest commit 692d71b
🔍 Latest deploy log https://app.netlify.com/projects/lively-frangollo-e43a02/deploys/69bf045e4b99310008fcc8dc
😎 Deploy Preview https://deploy-preview-281--lively-frangollo-e43a02.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 project configuration.

Add native lazy loading to below-fold images on the homepage (macbook
frames, illustrations, pricing icons), blog/changelog previews, and
single post cover images. The above-fold hero screenshot is kept eager.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@andygrunwald andygrunwald force-pushed the perf/lazy-load-images branch from 4f668c3 to 692d71b Compare March 21, 2026 20:49
@andygrunwald andygrunwald merged commit b33f0e7 into main Mar 21, 2026
5 checks passed
@andygrunwald andygrunwald deleted the perf/lazy-load-images branch March 21, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant