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

Pagespeed Audit Warning: Errors logged to the console #7782

Open
nuotsu opened this issue Nov 8, 2024 · 0 comments
Open

Pagespeed Audit Warning: Errors logged to the console #7782

nuotsu opened this issue Nov 8, 2024 · 0 comments

Comments

@nuotsu
Copy link

nuotsu commented Nov 8, 2024

Describe the bug

When I run my site (using Live Content API and <SanityLive> etc) on Pagespeed Insights, I see the warning below for both desktop and mobile: errors logged to the console and attributed to next-loader:live (not sure but I assumed it was coming from the new Live Content API methods.

Screenshot 2024-11-07 at 10 52 58 PM

To Reproduce

Run pagespeed insights for my actual site and a demo site (much smaller) and navigate to the Best Practices tab.

Expected behavior

This warning was not logged prior to the Live Content API updates, and my site was able to achieve perfect 100/100s for Best Practices 💯

Which versions of Sanity are you using?

@sanity/cli (global)          3.63.0 (up to date)
@sanity/code-input             4.1.4 (up to date)
@sanity/dashboard              4.1.0 (up to date)
@sanity/eslint-config-studio   4.0.0 (up to date)
@sanity/image-url              1.1.0 (up to date)
@sanity/preview-url-secret     2.0.2 (up to date)
@sanity/vision                3.63.0 (up to date)
sanity                        3.63.0 (up to date)

What operating system are you using?

macOS

Which versions of Node.js / npm are you running?

9.8.1
v18.18.2

Security issue?

Not sure if related, but also saw this warning just below the warning in question:

Screenshot 2024-11-07 at 10 59 36 PM
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

1 participant