JordiJ
tRPC2y ago
2 replies
Jordi

Reduce `isPending` time for prefetched Queries?

I'm looking for ideas on how to reduce the isPending time for prefetched getStaticProps queries.

Google search console is upset with the LCP render times on mobile, and the LCP is completing roughly one second after the the loading state starts?

This is despite the initial data being included in the page load/root.

I've made a number of first/third party optimisations, but there is still a long delay between isPending and success resolution for the prefetched queries?
image.png
image.png
Was this page helpful?