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

large page warnings? #153

Open
kookster opened this issue Jul 9, 2024 · 1 comment
Open

large page warnings? #153

kookster opened this issue Jul 9, 2024 · 1 comment
Labels

Comments

@kookster
Copy link
Member

kookster commented Jul 9, 2024

Looking at the logs, I see a warning from nextjs for large page size returned:

Warning: data for page "/listen" (path "/listen?ge=prx_82_565b4540-7542-4748-92b3-2a8ecd113ce2&uf=http%3A%2F%2Ffeeds.stlpublicradio.org%2Fweliveherestl") is 356 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
@rpeterman-gp
Copy link
Contributor

This is dependent on the feed providing the data. This is for the listen page, which will always produce a playlist of all the items in the feed, unless a sp param is used to limit the size of the playlist. This feed has 154 items. The more items, the more markup being generated for the page that Next delivers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants