Skip to content

Performance: Improve Home Page Performance (layer5.io)#7710

Open
kanishksingh23 wants to merge 1 commit intolayer5io:masterfrom
kanishksingh23:fix/home-page-performance-v2
Open

Performance: Improve Home Page Performance (layer5.io)#7710
kanishksingh23 wants to merge 1 commit intolayer5io:masterfrom
kanishksingh23:fix/home-page-performance-v2

Conversation

@kanishksingh23
Copy link
Copy Markdown
Contributor

@kanishksingh23 kanishksingh23 commented May 6, 2026

Description

  • Add fetchPriority=high to hero SVG in Banner-1 for faster LCP discovery
  • Fix CLS in Partners section by always rendering the <img> tag with a transparent placeholder until the real image loads, instead of returning null, which caused a layout shift (CLS: 0.332 → ~0.05)
  • PurgeCSS configured with purgeOnly: [src/] and develop: false to reduce CSS bundle size

This PR fixes #6924

Notes for Reviewers

Before SS
image

After SS
image

This time, nothing is broken
image

Signed commits

  • Yes, I signed my commits.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Preview deployment for PR #7710 removed.

This PR preview was automatically pruned because we keep only the 6 most recently updated previews on GitHub Pages to stay within deployment size limits.

If needed, push a new commit to this PR to generate a fresh preview.

@kanishksingh23 kanishksingh23 force-pushed the fix/home-page-performance-v2 branch from c4a4578 to d2e65f5 Compare May 6, 2026 18:31
@kanishksingh23 kanishksingh23 force-pushed the fix/home-page-performance-v2 branch 3 times, most recently from 79d17c7 to ac4f03e Compare May 7, 2026 05:46
@kanishksingh23
Copy link
Copy Markdown
Contributor Author

@leecalcote, @saurabhraghuvanshii, please take a look.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kanishksingh23 please revert all lint changes from all files so that it's easy for review.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@saurabhraghuvanshii, done reverted all lint changes

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kanishksingh23 Please take a look into your changes then revert all lint please.

Comment thread src/sections/General/Footer/index.js Outdated
Comment on lines +118 to +124
Layer5 is the steward of Meshery and creator of Kanvas, the
collaborative canvas for cloud-native infrastructure. We bridge
the gap between design and operation, allowing engineers to
create, configure, and deploy orchestratable diagrams in real
time. Whether managing Kubernetes or multi-cloud environments,
Layer5 provides the tooling needed to oversee modern
infrastructure with confidence.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kanishksingh23 please revert lint ?

Comment thread src/sections/General/Footer/index.js Outdated
Comment on lines +153 to +154
className="category-link"
href="https://docs.layer5.io/videos"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: kanishksingh23 <kanishksingh763@gmail.com>
@kanishksingh23 kanishksingh23 force-pushed the fix/home-page-performance-v2 branch from c964215 to 64e1ea5 Compare May 8, 2026 19:23
@kanishksingh23
Copy link
Copy Markdown
Contributor Author

@saurabhraghuvanshii, done please have a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Performance] Improve Home Page Performance (layer5.io)

2 participants