5

Chromium 系列瀏覽器對 Google Search Engine 的不公平最佳化

 3 years ago
source link: https://blog.gslin.org/archives/2021/07/16/10243/chromium-%e7%b3%bb%e5%88%97%e7%80%8f%e8%a6%bd%e5%99%a8%e5%b0%8d-google-search-engine-%e7%9a%84%e4%b8%8d%e5%85%ac%e5%b9%b3%e6%9c%80%e4%bd%b3%e5%8c%96/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Chromium 系列瀏覽器對 Google Search Engine 的不公平最佳化

在 tab 上放了一陣子的連結,忘記是哪邊看到的,在講 Chromium 系列瀏覽器會針對 Google Search Engine 最佳化:「Google’s unfair performance advantage in Chrome」。

作者發現 Chromium 瀏覽器會預先開 HTTPS 連線連到搜尋引擎,這樣可以大幅降低建立 HTTPS 連線時所需要的時間,包括了 DNS 查詢、TCP handshake 與 TLS handshake:

I was looking for something else when I stumbled upon a feature called PreconnectToSearch. When enabled, the feature preemptively opens and maintains a connection to the default search engine.

問題在於這個功能只開給 Google Search 使用:

There’s just one small catch: Chromium checks the default search engine setting, and only enables the feature when it’s set to Google Search.

search_engine_preconnector.cc (HEAD 版本) 這邊可以看到這段程式碼:

// Feature to limit experimentation to Google search only.
const base::Feature kPreconnectToSearchNonGoogle{
    "PreconnectToSearchNonGoogle", base::FEATURE_DISABLED_BY_DEFAULT};
}  // namespace features

作者有提到,的確這個功能會對 search engine 有不小的衝擊,但可以透過擴充 OpenSearch Descriptions 或是 Well-Known URI 的方式提供,現在這樣寫死在程式碼裡面完全就是不公平競爭。

Related

Google 自己的瀏覽器:Chrome

Google 官方對於 Google Chrome 的公告都出來了:A fresh take on the browser,甚至有漫畫版本的說明可以看... 依照 Google 的說明,這是一套 open source software,rendering engine 是 Apple's WebKit,配上自己寫的 V8 JavaScript engine,看起來又有一堆 web developer 要頭痛了... 最近就會有 beta version 可以下載來看,到時候再抓來測試。 Update:網站「意外洩漏」的截圖被人抓下來了 (都搞這套...),有不少人抓了 Screenshot 可以看,以這些截圖看得出來 Chrome 的設計:Google Chrome Screenshots。剛剛看了才想到,不知道 Chrome 有沒有從 Microsoft 那套學起來,內建一堆自己的東西?順便把 Gears 包進去? Update:釋出了,在 Google 的首頁就有下載點!另外附上 Acid2 的截圖,看起來沒問題: 可以注意到網址列的處理上,刻意把站台部份與路徑部份的顏色分開:…

September 2, 2008

In "Browser"

Google Chrome 88 的 Search Engine Keyword 功能失效恢復的方法

升級到 Google Chrome 88 以後又再次被 Google 姦了,這次是 Search Engine Keyword 的功能預設被關掉:「Chrome 88 disables space bar shortcut for custom search engines, but there's a fix」,在「Google Chrome keyword search is no longer working」這邊也有類似的問題冒出來。 文章裡面有提到解法,在 chrome://flags 裡面挑一個設為 Disabled 就可以了,我是用 #omnibox-keyword-search-button 這組: 設定完成後要重開瀏覽器才會生效。

February 14, 2021

In "Browser"

在 Ubuntu 的 Chrome (Chromium) 看 PDF 的方式

由於 PDF Viewer 不是 free software (參考「Why doesn't Chromium have "Chrome PDF Viewer" plugin?」),所以 Ubuntu 下的 Chromium 並沒有包進去,需要自己手動安裝。 方法可以參考「Chrome PDF Plugin in Ubuntu – How To Enable」這篇: 先依照平台決定要抓 http://dl.google.com/linux/direct/google-chrome-unstable_current_i386.deb 或是 http://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb。 用 ar vx google-chrome-unstable_current_amd64.deb (或是 i386) 解出 data.tar.lzma。 再用 tar --lzma -xvf data.tar.lzma 把 data.tar.lzma 內的 libpdf.so 取出。 把…

June 2, 2012

In "Browser"

a611ee8db44c8d03a20edf0bf5a71d80?s=49&d=identicon&r=gAuthor Gea-Suan LinPosted on July 16, 2021Categories Browser, Computer, GoogleChrome, Murmuring, Network, Search Engine, Service, Software, WWWTags browser, chrome, chromium, engine, google, https, network, performance, preconnect, preconnecttosearch, search, speed

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Comment

Name *

Email *

Website

Notify me of follow-up comments by email.

Notify me of new posts by email.

Post navigation


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK