Skip to content

Improve home page performance by deferring heavy embeds#6

Open
saforem2 wants to merge 2 commits intomainfrom
codex/improve-pagespeed-insights-score-u7h4tp
Open

Improve home page performance by deferring heavy embeds#6
saforem2 wants to merge 2 commits intomainfrom
codex/improve-pagespeed-insights-score-u7h4tp

Conversation

@saforem2
Copy link
Owner

Summary

  • add a client-side helper that defers loading for elements marked with data-defer-src
  • rewrite the Last.fm widget without jQuery and add placeholders plus lazy-loading for third-party embeds
  • update generated HTML to use deferred loading attributes and ensure the script ships with the built site

Testing

  • not run (not applicable)

https://chatgpt.com/codex/tasks/task_e_68e9136677fc832aab4fae11869b3256

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Sorry @saforem2, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@netlify
Copy link

netlify bot commented Oct 10, 2025

Deploy Preview for samforeman ready!

Name Link
🔨 Latest commit 24a62dc
🔍 Latest deploy log https://app.netlify.com/projects/samforeman/deploys/68ebad4c773b810008f5bd8c
😎 Deploy Preview https://deploy-preview-6--samforeman.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 51
Accessibility: 85
Best Practices: 92
SEO: 83
PWA: -
View the detailed breakdown and full score reports

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

@netlify
Copy link

netlify bot commented Oct 10, 2025

Deploy Preview for laughing-elion-dcea8e ready!

Name Link
🔨 Latest commit 24a62dc
🔍 Latest deploy log https://app.netlify.com/projects/laughing-elion-dcea8e/deploys/68ebad4c37f81500087b6e3b
😎 Deploy Preview https://deploy-preview-6--laughing-elion-dcea8e.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.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant