Improve LCP score with fetchpriority attribute#141
Improve LCP score with fetchpriority attribute#141yebor974 wants to merge 1 commit intoTryGhost:mainfrom
Conversation
…h header style) and feature image to improve LCP
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThe pull request adds the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Note
Low Risk
Low risk: adds a
fetchpriority="high"hint to a couple of template images, with no logic or data flow changes; main risk is unintended network prioritization affecting load order on some pages.Overview
Improves perceived performance by adding
fetchpriority="high"to the site cover/hero image rendered inheader-content.hbsand to postfeature-image.hbsimages, encouraging browsers to load these LCP-critical images earlier.Reviewed by Cursor Bugbot for commit c7e1607. Bugbot is set up for automated code reviews on this repo. Configure here.