WebPagetest Forums
Reduce/Remove gap of 3 sec inactivity - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Optimization Discussions (/forumdisplay.php?fid=5)
+--- Thread: Reduce/Remove gap of 3 sec inactivity (/showthread.php?tid=15990)



Reduce/Remove gap of 3 sec inactivity - mailvikastaneja@gmail.com - 02-26-2020 02:14 AM

Hello, I am trying to optimize my new website and while it is working reasonably Ok now but I still see in waterfall chart that there is a gap of more than 3 secs between step 6 & step 7. Is there a way to reduce this gap and get fonts load step 7 to execute simultaneously or subsequently without this gap?
Thanks for you help in advance.


RE: Reduce/Remove gap of 3 sec inactivity - clubberz - 02-27-2020 08:00 AM

Have you tried a test without Cloudflare's Rocket loader enabled?


RE: Reduce/Remove gap of 3 sec inactivity - mailvikastaneja@gmail.com - 02-27-2020 08:39 PM

Thanks for your reply. I did try it and while it reduces the gap but it significantly increases the load & document complete times when switched off...


RE: Reduce/Remove gap of 3 sec inactivity - clubberz - 02-29-2020 08:35 AM

The start render and interactive time will be the more important metrics to decrease. The page should become interactive well before the document complete time, so I wouldn't worry too much about that time as it will be mostly made up of third party scripts that load after the main content.

Rocket loader can result in some issues with script processing as it will push a lot of these until after the document complete time. Something to keep it mind. If the page content feels like it loads smoother in the browser without it, consider not using it.

The site looks to be loading within 2.4s at Dulles, so it could also be the location you tested had a slow CPU, which can result in slow JS processing. Worth checking the CPU utilization graph underneath the waterfall to see if it was spiking during that 3s gap.