In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to configure Firefox under Fedora to accelerate it, which has a certain reference value. Interested friends can refer to it. I hope you can learn a lot after reading this article.
There are many ways to accelerate Firefox, and here are only the simple ones that are commonly used. Type: about:config in the address bar, and then change the following key values (create a new one if you can't find it):
Network.http.pipelining
Double-click the assignment to true, which defaults to false. If you can't find this key, you can right-click to create a new Boolean and assign it to true. After activating this key value, Pipelining makes multiple connection requests at the same time, which can reduce the time it takes for Firefox to load the page. However, not all web pages are hosted on servers that support this operation.
Network.http.pipelining.maxrequests
Double-click and assign a value of 8 or more, with a default key value of 4. Increase the number of * connections to speed up.
Network.http.proxy.pipelining
Double-click and assign it to true. For the same reason.
Nglayout.initialpaint.delay
Right-click to create a new Integer value with the key name of nglayout.initialpaint.delay, and assign a value of 0.
This actually delays the display speed of the entire page, but because users prefer to start reading the page before the whole page is completely truncated, you can set the value to zero here to speed up the user's reading of the web page. sometimes the reading speed is not proportional to the loading speed.
The above four changes have obviously improved the browsing speed of Firefox. If you are not satisfied, you can try to change the following key values again:
Network.dns.disableIPv6
Double-click and assign it to true. IPv6 increases the IP address from 32 bits to 128 bits, thus supporting a larger address space. When a user sends a connection request to an IPv6-capable DNS server at the terminal, the server may mistakenly return an IPv4 address to the user. Firefox can detect all this, but the error correction of Firefox will inevitably lead to signal delay, so here we assign her to true and disable it.
Content.interrupt.parsing
Right-click to create a new Boolean value, the key name is content.interrupt.parsing, and assign the value true. By default, this key value does not exist. After we activate this key value, when the target web page is loaded, Firefox will interrupt the parsing process according to a certain frequency and constantly feedback the web page information she has collected to the user.
Content.max.tokenizing.time
Right-click to create a new Integer value, the key name is content.max.tokenizing.time, and the assignment value is 2250000.
The purpose of this key value is to specify the processing cycle of a looping event, in microseconds. In theory, the smaller the value, the smoother the page will load visually, because Firefox will feed back the parsed page information in a very short unit of time. But this undoubtedly delays the overall loading time of the web page, so here we might as well make this cycle larger, which can theoretically speed up the loading of the web page.
Content.notify.interval
Right-click to create a new Integer value, the key name is content.notify.interval, and the assignment value is 750000.
* * the time it takes to send a connection request to the remote host to receive the preloaded page at the terminal is the key value to be defined here. In theory, when this time is set very low, you will definitely get the so-called preloaded page more quickly, but this is a practice that kills the goose that lays the golden eggs, which virtually increases the loading time of the overall page. Officially, less than 100000 will degrade the performance of Firefox, so let's limit it to 750000.
Content.notify.ontimer
Right-click to create a new Boolean value, the key name is content.notify.ontimer, and assign the value true.
In order for the 750000 microseconds set above to take effect, you also need to activate this key value. Only if these two key values work together will it work.
Content.notify.backoffcount
Right-click to create a new Integer value with the key name content.notify.backoffcount and assign a value of 5.
This key controls the number of times Firefox's built-in counters load the page before returning to zero. We divide the target web page into many parts for downloading, and each time we finish downloading one part, the counter returns to zero. -1 means there is no limit, and this feature is disabled when the value is 0. Here, it is set to 5, and when the number of returns reaches five times and this part of the page has not been fully downloaded, then the remaining undownloaded web content will no longer follow the preset cycle. It will be transported back bit by bit like the previous five times, but will be downloaded all at once. In other words, during the download process of this part of the web page, Firefox feedback a total of 6 times. The interval of the first five times is the period set in the above key values of 2250000 microseconds, while the sixth time, that is, *, there is no time limit. When to finish the rest and when to give feedback.
Of course, the setting here will only take effect if the content.notify.ontimer key mentioned above is true.
Content.switch.threshold
Right-click to create a new Integer value with the key name content.switch.threshold, and assign a value of 750000, that is, 3/4 seconds.
I mentioned a key value content.interrupt.parsing that can actually interact with Firefox during page loading by activating it. When content.interrupt.parsing is activated, Firefox will have two modes of operation when the page is loaded: high-frequency and low-frequency interrupt modes. When using high-frequency mode, the frequency of web page feedback is also very high, and the web page loading process will be more smooth. At low frequency, the frequency of web page feedback is relatively low, but it speeds up the loading time of web pages. When you move the mouse or touch the keyboard, the high frequency mode is activated. After a certain period of time without touching the mouse and keyboard, and the program does not receive any instructions from the mouse and keyboard, Firefox will automatically enter low-frequency mode to work, and this so-called period of time is the value to be specified here.
Thank you for reading this article carefully. I hope the article "how to configure Firefox under Fedora to accelerate it" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.