WebPagetest Forums
jQuery stalling pageload? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Optimization Discussions (/forumdisplay.php?fid=5)
+--- Thread: jQuery stalling pageload? (/showthread.php?tid=12222)



jQuery stalling pageload? - ingteractive - 04-30-2013 12:36 AM

Hi there,

I have a bit of a challenge. My webpage shows very bad results in the webpagetest tooling, but I doubt they are true:

http://www.webpagetest.org/result/130429_HQ_KS3/1/details/

The startrender is after 24 seconds, but weird enough it stalls after the jquery load.

Any thoughts?

Mark


RE: jQuery stalling pageload? - pmeenan - 05-03-2013 12:55 AM

I'd normally say to do several runs to make sure it's not an outlier but it looks like it's quite reproducible: http://www.webpagetest.org/result/130502_WV_K98/

Whatever it is doing looks to be specific to IE and is probably timing sensitive. Tried running it in Chrome with dev tools to see what was going on but the problem didn't show up: http://www.webpagetest.org/result/130502_J2_KB4/

It is very reproducable on IE though so I'm confident there's a problem with the code, it's just going to be a lot harder to debug. It looks like it freezes after a bunch of loads of show_image_in_tag.php - is it possible that there is some code that is iterating over the page (lazy loading images or something like that) and it gets caught in an infinite loop?