
雖然 Chrome 現時是市場上市佔率最高的瀏覽器,不過有些人習慣使用其他瀏覽器如 Firefox、Opera 等。但是,這些瀏覽器進入 YouTube 時,卻要面對載入速度比 Chrome 慢的問題。為甚麼?
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) 2018年7月24日
最近,Google 為 YouTube 網頁版換上全新名為 Polymer 的介面。不過,此介面只有利於 Chrome,而利於其他瀏覽器。Mozilla 技術主管 Chris Peterson 於 Twitter 上解釋指,新的 YouTube 介面用上一種名為 Shadow DOM v0 API,但只適用於 Chrome。簡單而言,其他瀏覽器要花上多五倍的時間,才能完成載入同一頁面。
Chris Peterson 指出,惟有為瀏覽器加裝插件,強制瀏覽器以舊介面載入 YouTube,才能避免此問題,而 Firefox 是有相應的插件。
明顯地,Google 令 Chrome 支援 YouTube 較佳,是為了令更多原本使用其他瀏覽器的用家改用 Chrome。但是大家也不要忘記,近數個版本的 Chrome 其中一個最大的問題是大量佔用系統記憶體。為了加快載入 YouTube,是否需要以 Chrome 作為瀏覽器的首選,就要由各位用家自行決定了。
來源︰Softpedia