Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up Lighthouse issues #41

Merged
merged 3 commits into from May 19, 2023
Merged

Fix up Lighthouse issues #41

merged 3 commits into from May 19, 2023

Conversation

delucis
Copy link
Member

@delucis delucis commented May 19, 2023

Addresses a few Lighthouse issues we were seeing in the astro.new redesign.

It can be a bit tricky to run Lighthouse against a Netlify preview deploy because of how they inject the review drawer which is a chonky React app, but turns out you can run against a permalink URL to avoid that, e.g. https://646737a203f50a0008bb59c4--astro-new.netlify.app/latest/

The site should get 99/100/100/100 scores after these changes, which also dropped data transfer by about 100kB thanks to a few resized images.

@netlify
Copy link

netlify bot commented May 19, 2023

Deploy Preview for astro-new ready!

Name Link
🔨 Latest commit a980a1c
🔍 Latest deploy log https://app.netlify.com/sites/astro-new/deploys/646737a203f50a0008bb59c4
😎 Deploy Preview https://deploy-preview-41--astro-new.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 site settings.

@delucis delucis marked this pull request as ready for review May 19, 2023 09:00
Copy link
Contributor

@tony-sull tony-sull left a comment

Choose a reason for hiding this comment

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

Very nice! It's always crazy how much differs a few better optimized images can make

@delucis delucis merged commit 65d2671 into main May 19, 2023
6 checks passed
@delucis delucis deleted the ui-122/lighthouse branch May 19, 2023 15:15
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.

None yet

2 participants