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

Sometimes, the Lighthouse score (CLS) drops. #7

Open
motea927 opened this issue Aug 20, 2023 · 1 comment
Open

Sometimes, the Lighthouse score (CLS) drops. #7

motea927 opened this issue Aug 20, 2023 · 1 comment

Comments

@motea927
Copy link

Sometimes The Lighthouse score will drop.
With body#main CLS, but it is not often occurring,
Refresh the page maybe 20 times, it only occur once.

截圖 2023-08-20 上午2 54 23

@selipso
Copy link

selipso commented Jun 2, 2024

I believe this has to do with the way images are stored in the /public folder rather than within the src folder. https://docs.astro.build/en/guides/images/#src-required

Astro recommends keeping images in the src directory so they can be optimized by the <Image> component

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

No branches or pull requests

2 participants