基於文字的瀏覽器能減少網路流量嗎?

毫無疑問,如今的網頁內容豐富,需要更多的頻寬才能完全載入,但使用基於文字的瀏覽器而不是基於GUI的瀏覽器是否會對減少網路流量產生顯著影響?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。...

基於文字的瀏覽器能減少網路流量嗎?

毫無疑問,如今的網頁內容豐富,需要更多的頻寬才能完全載入,但使用基於文字的瀏覽器而不是基於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):

  • 19×11 pixel Keyboard Icon (106 Bytes/76 Bytes)
  • 28×38 pixel Microphone Icon (334 Bytes/248 Bytes)
  • 1×1 pixel Transparent GIF (62 Bytes/43 Bytes) It shows up in Google Chrome’s Dev Tools Resources tab, but I could not find it in the source code (probably added later with JavaScript).
  • 1×1 pixel Corrupted GIF file that appears twice. (34 Bytes/23 Bytes) Its purpose is a mystery to me.

有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

  • 發表於 2021-04-11 06:33
  • 閱讀 ( 36 )
  • 分類:網際網路

你可能感興趣的文章

linux上最好的firefox瀏覽器是什麼?

...統,他們都會安裝它。這款瀏覽器非常好,人們願意購買基於Linux的電腦,這些電腦只能執行Chrome。 ...

  • 發佈於 2021-03-11 14:30
  • 閲讀 ( 53 )

這就是你的瀏覽器如何損害你的隱私

...可以檢視這些資訊,瞭解你的很多習慣。更重要的是,你的瀏覽器很樂意向你所訪問的網站報告比你想象的更多的資訊。 ...

  • 發佈於 2021-03-11 16:55
  • 閲讀 ( 58 )

6個新顯示器能減輕眼睛疲勞的原因

如果你正在經歷眼睛疲勞的症狀,最好的解決辦法是花更少的時間看螢幕。但是,如果你不能把眼睛從顯示器上移開,有一些方法可以減少它們對你眼睛的影響, ...

  • 發佈於 2021-03-13 01:24
  • 閲讀 ( 44 )

今天改用vivaldi瀏覽器的9個理由

...瓦爾第是最讓我吃驚的一個。我來告訴你為什麼。(本文基於我使用Vivaldi 1.10的經驗。) ...

  • 發佈於 2021-03-14 07:05
  • 閲讀 ( 48 )

如何使網頁在任何瀏覽器中列印都更環保

... 文字編輯 ...

  • 發佈於 2021-03-14 17:48
  • 閲讀 ( 30 )

適用於windows的最佳web瀏覽器

...odo提供了兩個安全和隱私瀏覽器:IceDragon和Dragon。IceDragon基於Firefox,而Dragon基於Google的開源Chromium。它們都提供SecureDNS伺服器(一個自定義域名過濾系統),並延續各自瀏覽器生態系統的體驗。 ...

  • 發佈於 2021-03-14 20:40
  • 閲讀 ( 51 )

勇敢是一個更快,更安全,非谷歌瀏覽器為今天的網際網路

... 勇敢是基於鉻,雖然它不完全相同,但它有一些相似之處,就像歌劇一樣。點選視窗右上角的小三點選單,然後點選設定,進入設定選單。你會發現一些基本設定,如主頁和預設...

  • 發佈於 2021-03-14 21:57
  • 閲讀 ( 48 )

tor vs.piratebrowser vs.anonymox:隱私和訪問比較

... Epic Privacy Browser是一款基於Chromium的瀏覽器,非常注重隱私。預設情況下,Epic會在您退出瀏覽器時刪除所有會話資料,包括web和DNS快取以及瀏覽歷史記錄。此外,Epic還集成了加密代理服務,只...

  • 發佈於 2021-03-15 10:45
  • 閲讀 ( 59 )

什麼是“請勿跟蹤”,它是否保護您的隱私?

所有主流的瀏覽器都提供了“不跟蹤”功能,讓網站知道你不想被跟蹤。這似乎是個好主意,但它能保護你的隱私嗎? ...

  • 發佈於 2021-03-19 23:57
  • 閲讀 ( 45 )

如何使用vpn或英國代理觀看bbc iplayer

...時會顯示一條錯誤訊息。然而,有一些方法可以繞過這些基於位置的限制。 ...

  • 發佈於 2021-03-21 10:31
  • 閲讀 ( 56 )
HE23799047
HE23799047

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章