解決Google Chrome網頁載入速度變慢

blank

解決Google Chrome網頁載入速度變慢

解決方法

Chrome >> 設定 >> 隱私設定和安全性 >> 安全( chrome://settings/security ) >> 關閉使用安全DNS(或使用自訂DoH服務提供者)

問題

近日更新了Google Chrome,發現Chrome載入網頁的速度相比起之前的版本以及其他瀏覽器明顯變慢(載入知乎速度變慢相當明顯,尤其是知乎的圖片)。

原因

Google Chrome 從Chrome 83 開始推出安全DNS,這個功能建立在DNS-over-HTTPS的基礎上。

A safer and more private browsing experience with Secure DNS
With Chrome 83, we’ve started rolling out Secure DNS, a feature built on top of a secure DNS protocol called DNS-over-HTTPS, which is designed to improve your safety and privacy while browsing the web.

Google Chrome預設推薦的DNS應該是境外的伺服器,境外伺服器對境內部分網站優化不佳,就會導致網頁變慢的情況。

DoH服務提供者

境內:阿裡公共DNS(阿裡公共DNS安全傳輸服務

https://dns.alidns.com/dns-query?
https://alidns_ip/dns-query?

其中alidns_ip是 http://dns.alidns.com的A記錄,可以是以下兩個位址之一 :223.5.5.5,223.6.6.6.

翻譯一下:即 dns.alidns.comalidns_ip 可以使用 和 223.5.5.5 223.6.6.6 替換

境外:Google Public DNS

https://dns.google/dns-query

其他DoH服務提供者可參考:

附(Google Chrome 説明)

What do you think?

Written by marketer

blank

谷歌SEO核心指標-Core Web Vitals

blank

程式師常用的8個網站:讓程式設計門檻更低,讓代碼更簡單