News for hackers. Stuff that matters.
Re:Why Not Document.write()? by dmix on Saturday April 01, 2023 @05:57PM (#35404519)
> The whole reason I’m writing this post is that I have a client at the moment who is using document.write() late in the <head>. As we now know, this pushes both the fetch and the execution on the main thread.

Is there any tools that you can use to help detect stuff like this? In order to do performance optmizations

Re:Why Not Document.write()? by metadat on Saturday April 01, 2023 @06:00PM (#35404547)
Google Page Speed gives actionable insights into page loading bottlenecks.

https://pagespeed.web.dev/

Off-topic: Apparently the URL flavor this month is infected with the .dev TLD proliferation g-corp agenda (as is golang.org -> golang.dev):

Re:Why Not Document.write()? by dplgk on Saturday April 01, 2023 @06:10PM (#35404630)
Lighthouse in Chrome dev tools