tRPCttRPC
Powered by
JordiJ
tRPC•2y ago•
2 replies
Jordi

Reduce `isPending` time for prefetched Queries?

I'm looking for ideas on how to reduce the
isPending
isPending
time for prefetched
getStaticProps
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
isPending
and
success
success
resolution for the prefetched queries?
image.png
image.png
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Stop initial refetch when prefetched with SSG helpers
Laurens LavaertLLaurens Lavaert / ❓-help
3y ago
How to check if data is being prefetched?
lukasLlukas / ❓-help
3y ago
Turn off batching for some queries?
thecahnartistTthecahnartist / ❓-help
14mo ago
How to properly check the contents of prefetched data?
fossfighterFfossfighter / ❓-help
3y ago