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?1 Reply
Adding
staleTime
and refetch props seems to reduce the load by about 2s. Though there still is a pending state 🤔