3 ms·
YouTube's Polymer UI uses Web Components and Shadow DOM, which are natively implemented in Chrome but not Firefox or Edge yet. So YouTube serves slow JavaScript
by cpeterso 9y ago
YouTube's Polymer UI uses Web Components and Shadow DOM, which are natively implemented in Chrome but not Firefox or Edge yet. So YouTube serves slow JavaScript polyfills for JavaScript to non-Chrome browsers.
Firefox and Edge (on my Windows laptop) take about five seconds to replace a YouTube page's wireframe layout with text. But if I append "&disable_polymer=1" as joecool1029 recommends above, the text loads instantly in Firefox and Edge. Is YouTube's new Polymer UI sooo much better that is worth five second page loads in non-Chrome browsers?
- cpeterso 9y agoCorrection: I did some more research and YouTube's Polymer UI uses Chrome's non-standard Shadow DOM v0 API, so even when Firefox and Edge ship the standard Shadow DOM API (which is in progress), YouTube will still be 5x slower than in Chrome. :|
- progval 9y agoIt's almost as if Google wanted to push its own web browser