WebPagetest Forums
Defer parsing of JavaScript - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: Defer parsing of JavaScript (/showthread.php?tid=12794)



Defer parsing of JavaScript - trihungpc - 02-04-2014 07:28 PM

I have add defer="defer" to scripts but test result until messenger "Defer parsing of JavaScript
This is my site http://trihung.com
Any body help me? How to defer parsing of JavaScript?
Thanks


RE: Defer parsing of JavaScript - pmeenan - 02-06-2014 11:52 PM

Defer it until when and is it an external or inline script? defer will defer the script execution until right after the parser parses the html but only works for external scripts and doesn't give you a lot of control over it.