5 ms·
Sometimes html pages can get pretty big, why not optimise it? Also, speeding up html parsing means speeding up browsers, crawlers, e2e tests, visual regression
by spartanatreyu 2y ago
Sometimes html pages can get pretty big, why not optimise it?
Also, speeding up html parsing means speeding up browsers, crawlers, e2e tests, visual regression tests, etc...
- abirch 2y agoA lot of html, css, and JavaScript may not be independent.
- kelnos 2y agoSure, but if you parse the HTMl faster, you find the <script> and <link rel="stylesheet"> tags sooner, and can kick off another network thread to start fetching those files sooner. Overall you end up with a faster page load.