西西河

主题:火狐小窍门 -- thunder

共:💬4 🌺4 新:
分页树展主题 · 全看
  • 家园 火狐小窍门

    不知有人贴过没有:

    外链出处

    下面这个真的很牛

    在地址栏里键入:

    about:config

    If you set network.http.pipelining and network.http .proxy.pipelining to

    true then you've basically just upgraded an antiquated browsing system with modern plumbing. Set the network.http.pipelining.maxrequests option to 30 and Firefox will now send up to 30 HTTP requests at once―theoretically, although not always, making your browsing that little bit faster.

    Before you close the window, right-click anywhere on the about:config page and select New | Integer. Then type in nglayout.initialpaint.delay and enter 0 as its value. Firefox will now render pages immediately instead of waiting its default 250 ms, a slight but noticeable difference when you're surfing the Web.

    • 家园 这个说法其实不很准确,尤其是所谓的theoretically

      理论上不存在“30”这样一个Magic number。你不妨这样想,如果30并行HTTP Request能加快速度,那么当我把计算机升级到Dual CPU,或者是Dual-Core CPU的时候,那么这个数字是不是要变成60呢?还是45,或者50?

      你的计算机硬件资源,网络速度,你同时打开网页的多少,对方网站的性能等等等等都会影响你的浏览器。最合理的HTTP Request数量应该是动态调整的。不过到目前我还没有见过一个非常合理和有效的动态调整算法。.NET里的Thread pool标榜的是这样,但实践中还是问题很多的。

    • 家园 这个真的很牛,花一朵
    • 家园 This is cool! 顺便补充一下: 要改变/设置取值,double click就可以了.
分页树展主题 · 全看


有趣有益,互惠互利;开阔视野,博采众长。
虚拟的网络,真实的人。天南地北客,相逢皆朋友

Copyright © cchere 西西河