毫無疑問,如今的網頁內容豐富,需要更多的頻寬才能完全載入,但使用基於文字的瀏覽器而不是基於GUI的瀏覽器是否會對減少網路流量產生顯著影響?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。
今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。
Lynx瀏覽器截圖由維基百科提供。
超級使用者讀者Paulb想知道基於文字的瀏覽器是否真的能減少網路流量:
Do text-based browsers such as Lynx, Links, and ELinks c***ume less bandwidth than GUI-based browsers like Firefox, Chrome, and Internet Explorer?
I am guessing that there is no reduction in traffic. My rationale for this is that I think a text-based browser downloads the entire page as it is offered by the server. Any streamlining or reduction of page widgetry is done locally.
Maybe there is some reduction in traffic as most text-based browsers will not execute page scripts or flash files, which might cause more traffic.
基於文字的瀏覽器能否在減少網路流量方面起到顯著的作用?
超級使用者貢獻者gronostaj為我們提供了答案:
The web server does not send the entire website, but documents that browsers request. For example, when you access google.com, the browser queries the web server for the document google.com. The web server processes the request and sends back some HTML code.
Then the browser checks what the web server has sent. In this case, it is an HTML webpage, so it parses the document and looks for referenced scripts, style sheets, images, fonts, etc.
At this stage, the browser has finished downloading the original document, but has still not downloaded the referenced documents. It can choose to do so or skip downloading them. Regular browsers will try to download all referenced documents for the best viewing experience. If you have an ad blocker (like Adblock Plus) or a privacy plugin (like Ghostery or NoScript), then it may block some resources too.
Then the browser downloads the referenced documents one by one, each time asking the web server explicitly for a single resource. In our Google example, the browser will find the following references (just to name a few of them):
The actual files may be different for different users since browsers and sessi*** may change over time. Text-based browsers do not download images, Flash files, HTML5 video, etc., so they download less data.
@NathanO**an makes a good point in the comments. Sometimes **all images are embedded directly in HTML documents and in those cases, downloading them cannot be avoided. This is another trick used to reduce the number of requests. They are very **all though, otherwise the overhead of encoding a binary file in base64 is too big. There are few such images on google.com (base64 encoded size/decoded size):
有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。
...統,他們都會安裝它。這款瀏覽器非常好,人們願意購買基於Linux的電腦,這些電腦只能執行Chrome。 ...
...可以檢視這些資訊,瞭解你的很多習慣。更重要的是,你的瀏覽器很樂意向你所訪問的網站報告比你想象的更多的資訊。 ...
如果你正在經歷眼睛疲勞的症狀,最好的解決辦法是花更少的時間看螢幕。但是,如果你不能把眼睛從顯示器上移開,有一些方法可以減少它們對你眼睛的影響, ...
...瓦爾第是最讓我吃驚的一個。我來告訴你為什麼。(本文基於我使用Vivaldi 1.10的經驗。) ...
...odo提供了兩個安全和隱私瀏覽器:IceDragon和Dragon。IceDragon基於Firefox,而Dragon基於Google的開源Chromium。它們都提供SecureDNS伺服器(一個自定義域名過濾系統),並延續各自瀏覽器生態系統的體驗。 ...
... 勇敢是基於鉻,雖然它不完全相同,但它有一些相似之處,就像歌劇一樣。點選視窗右上角的小三點選單,然後點選設定,進入設定選單。你會發現一些基本設定,如主頁和預設...
... Epic Privacy Browser是一款基於Chromium的瀏覽器,非常注重隱私。預設情況下,Epic會在您退出瀏覽器時刪除所有會話資料,包括web和DNS快取以及瀏覽歷史記錄。此外,Epic還集成了加密代理服務,只...
所有主流的瀏覽器都提供了“不跟蹤”功能,讓網站知道你不想被跟蹤。這似乎是個好主意,但它能保護你的隱私嗎? ...