Whether by design or accident, YouTube’s adoption of slower polyfills as part of its Polymer redesign earlier this year has allegedly resulted in 5X slower page-loads on Firefox and Edge than in Chrome.
According to Mozilla’s Technical Program Manager, Chris Peterson, Google is using the Shadow DOM V0 API that’s implemented natively only in Chrome, and not in either of the other aforementioned browsers.
The slowness, however, only seems to affect the initial page load, while subsequent navigation performance is ‘comparable’, says Peterson.
YouTube page load is 5x slower in Firefox and Edge than in Chrome because YouTube's Polymer redesign relies on the deprecated Shadow DOM v0 API only implemented in Chrome. You can restore YouTube's faster pre-Polymer design with this Firefox extension: https://t.co/F5uEn3iMLR
— Chris Peterson (@cpeterso) July 24, 2018
Peterson also lays out a relatively simple workaround to fix the problem – an add-on called YouTube Classic that restore’s the streaming site’s faster pre-Polymer design. The add-on, which is now available on the Mozilla repository, was first launched back in May, and is currently on version 1.2.
Peterson also helped out Edge users by recommending an user script called ‘YouTube Restore Classic’. As is the case will all such scripts, users will need to install the TamperMonkey extension to get it to work. It’s worth noting that similar scripts are also available for Firefox, and users can install extensions like GreaseMonkey or ViolentMonkey to run those scripts automatically.
To fix YouTube on Edge, you can install the Tampermonkey extension for Edge and this "YouTube Restore Classic" user script:https://t.co/Hf5Pn3Bnx3https://t.co/tccF4fVh9K
— Chris Peterson (@cpeterso) July 25, 2018
While the adoption of its Polymer library is expected to help YouTube introduce new features faster, the fact that it is slowing down the service on non-Chrome browsers is bad news for the company that has just been handed not only a multi-billion dollar fine by the EU for anti-competitive trade practices, but also a Rs. 136 crore fine by the CCI (Competition Commission of India) earlier this year for ‘search bias’.
from Beebom https://ift.tt/2NFzc5t
0 coment�rios:
Post a Comment