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

Slow page load due to > 1MB listContent.json in HTML response #471

Open
mattrossman opened this issue Mar 5, 2023 · 5 comments
Open

Slow page load due to > 1MB listContent.json in HTML response #471

mattrossman opened this issue Mar 5, 2023 · 5 comments

Comments

@mattrossman
Copy link

Loading the site is slow for me, the initial HTML document takes several seconds and is > 1MB.

image

The bulk of this comes from the serialized listContent.json script tag

image

This appears to contain the full content of all blog posts on the site. I experience this on all pages of the site.

@swyxio
Copy link
Owner

swyxio commented Mar 9, 2023

thanks for this - yeah i should fix that!

@swyxio
Copy link
Owner

swyxio commented Mar 9, 2023

image

doesnt seem to appear on single blog pages at least. not in network requests

not inlined in html

image

@swyxio
Copy link
Owner

swyxio commented Mar 9, 2023

image

pagespeed insights blames the server response time. i should prerender or cache better

@swyxio
Copy link
Owner

swyxio commented Mar 9, 2023

https://www.webpagetest.org/result/230309_AiDcTC_7S0/1/details/#waterfall_view_step1

the response time here is embarrassingly slow. i have no idea what makes something take 6 seconds to render
image

@swyxio
Copy link
Owner

swyxio commented Mar 10, 2023

@mattrossman landing page still not good but at least fixed the perf for the individual blog pages. gonna keep working on it. thanks for the push, feel embarrassed
image

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