LearnHub icon indicating copy to clipboard operation
LearnHub copied to clipboard

[Feature Request]: Optimize Background Image Loading (LCP/CLS)

Open RiyaRani23 opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Feature Description

Optimized background image file (smaller size, modern format).

Updated HTML to include the necessary preload hints for the background.

Confirmation of an improved LCP score when testing with tools like Google Lighthouse.

Use Case

This enhancement directly impacts the core user experience of the landing page by making it feel faster and more professional.

By optimizing background image loading, this feature will:

Improve First Impressions: The hero section (the first thing a user sees) will load instantly, reducing bounce rates and giving users immediate access to the value proposition.

Increase Credibility: The project will achieve higher Core Web Vitals (LCP/CLS) scores in tools like Google Lighthouse, which is a key metric for modern, high-quality front-end development. This is especially important for a technical learning platform.

Enhance User Experience (UX): Eliminating delayed image loading and layout shifts (CLS) provides a smoother, more stable viewing experience, particularly for users on slower networks or mobile devices.

Benefits

No response

Add ScreenShots

No response

Priority

High

Record

  • [x] I have read the Contributing Guidelines
  • [x] I'm a GSSOC contributor
  • [x] I have starred the repository

RiyaRani23 avatar Oct 06 '25 06:10 RiyaRani23

Thanks for creating the issue in LearnHub! Before you start working on your PR, please make sure to:

  • ⭐ Star the repository if you haven't already.
  • Pull the latest changes to avoid any merge conflicts.
  • Attach before & after screenshots in your PR for clarity.
  • Include the issue number in your PR description for better tracking. Don't forget to follow @souvikpramanikgit – Project Admin – for more updates!

We're excited to see your contribution as part of GSSOC 2025 . 🎉
Happy open-source contributing!

github-actions[bot] avatar Oct 06 '25 06:10 github-actions[bot]