Re: [w3c/webcomponents] Make JavaScript Files a Valid Entry Point to a Web Page (#807)

> The browser can render HTML before it has completed downloading it, which it cannot do with JavaScript. Adopting this proposal would be validating bad practices.

For a web site that generates its content exclusively from dynamic javascript anyway, being able to provide that javascript as an "entry point first request" saves an unnecessary trip to the server versus downloading an html file with an empty body that then has to make another trip to the webserver to get that javascript it could have gotten on first request.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/807#issuecomment-486279243

Received on Wednesday, 24 April 2019 15:00:51 UTC