`
love~ruby+rails
  • 浏览: 849778 次
  • 性别: Icon_minigender_1
  • 来自: lanzhou
社区版块
存档分类
最新评论

8 hacks to make Firefox ridiculously fast

阅读更多
Firefox has been outperforming IE in every department for years, and version 3 is speedier than ever.

But tweak the right settings and you could make it faster still, more than doubling your speed in some situations, all for about five minutes work and for the cost of precisely nothing at all. Here's what you need to do.

1. Enable pipelining

Browsers are normally very polite, sending a request to a server then waiting for a response before continuing. Pipelining is a more aggressive technique that lets them send multiple requests before any responses are received, often reducing page download times. To enable it, type about:config in the address bar, double-click network.http.pipelining and network.http.proxy.pipelining so their values are set to true, then double-click network.http.pipelining.maxrequests and set this to 8.

Keep in mind that some servers don't support pipelining, though, and if you regularly visit a lot of these then the tweak can actually reduce performance. Set network.http.pipelining and network.http.proxy.pipelining to false again if you have any problems.

2. Render quickly

Large, complex web pages can take a while to download. Firefox doesn't want to keep you waiting, so by default will display what it's received so far every 0.12 seconds (the "content notify interval"). While this helps the browser feel snappy, frequent redraws increase the total page load time, so a longer content notify interval will improve performance.

Type about:config and press [Enter], then right-click (Apple users ctrl-click) somewhere in the window and select New > Integer. Type content.notify.interval as your preference name, click OK, enter 500000 (that's five hundred thousand, not fifty thousand) and click OK again.

Right-click again in the window and select New > Boolean. This time create a value called content.notify.ontimer and set it to True to finish the job.

3. Faster loading

If you haven't moved your mouse or touched the keyboard for 0.75 seconds (the content switch threshold) then Firefox enters a low frequency interrupt mode, which means its interface becomes less responsive but your page loads more quickly. Reducing the content switch threshold can improve performance, then, and it only takes a moment.

Type about:config and press [Enter], right-click in the window and select New > Integer. Type content.switch.threshold, click OK, enter 250000 (a quarter of a second) and click OK to finish.

4. No interruptions

You can take the last step even further by telling Firefox to ignore user interface events altogether until the current page has been downloaded. This is a little drastic as Firefox could remain unresponsive for quite some time, but try this and see how it works for you.

Type about:config, press [Enter], right-click in the window and select New > Boolean. Type content.interrupt.parsing, click OK, set the value to False and click OK.

5. Block Flash

Intrusive Flash animations are everywhere, popping up over the content you actually want to read and slowing down your browsing. Fortunately there's a very easy solution. Install the Flashblock extension (flashblock.mozdev.org) and it'll block all Flash applets from loading, so web pages will display much more quickly. And if you discover some Flash content that isn't entirely useless, just click its placeholder to download and view the applet as normal.

6. Increase the cache size

As you browse the web so Firefox stores site images and scripts in a local memory cache, where they can be speedily retrieved if you revisit the same page. If you have plenty of RAM (2 GB of more), leave Firefox running all the time and regularly return to pages then you can improve performance by increasing this cache size. Type about:config and press [Enter], then right-click anywhere in the window and select New > Integer. Type browser.cache.memory.capacity, click OK, enter 65536 and click OK, then restart your browser to get the new, larger cache.

7. Enable TraceMonkey

TraceMonkey is a new Firefox feature that converts slow Javascript into super-speedy x86 code, and so lets it run some functions anything up to 20 times faster than the current version. It's still buggy so isn't available in the regular Firefox download yet, but if you're willing to risk the odd crash or two then there's an easy way to try it out.

Install the latest nightly build (ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/), launch it, type about:config in the address bar and press Enter. Type JIT in the filter box, then double-click javascript.options.jit.chrome and javascript.options.jit.content to change their values to true, and that's it - you're running the fastest Firefox Javascript engine ever.

8. Compress data

If you've a slow internet connection then it may feel like you'll never get Firefox to perform properly, but that's not necessarily true. Install toonel.net (toonel.net) and this clever Java applet will re-route your web traffic through its own server, compressing it at the same time, so there's much less to download. And it can even compress JPEGs by allowing you to reduce their quality. This all helps to cut your data transfer, useful if you're on a limited 1 GB-per-month account, and can at best double your browsing performance
分享到:
评论

相关推荐

    Firefox Hacks

    ### Firefox Hacks 知识点解析 #### 一、Firefox 插件技术 **1.1 插件机制概述** Firefox 作为一个开放源代码的浏览器,支持用户通过安装各种插件来扩展其功能。这些插件(也称为扩展)可以为用户带来额外的功能...

    Swing Hacks

    介绍Swing组件的电子书 How This Book Is Organized ... Animated cursors, better threading, flashing the keyboard lights, and a bunch of quick one-liners to let you make the most of your busy day.

    网页制作需要了解的IE8、IE7、IE6、Firefox3、Firefox2的CSS hacks

    在本文中,我们将探讨如何使用CSS hacks来区分IE8、IE7、IE6以及Firefox3和Firefox2,以确保网站在这些浏览器下能够正常显示。 首先,CSS hacks是利用浏览器之间的差异和bug来为不同浏览器编写特定的CSS代码,以...

    Yahoo! Hacks: Tips & Tools for Living on the Web Frontier (Hacks)

    Hacks shows you how to use, expand, personalize, and tweak Yahoo! in ways you never dreamed possible. You'll learn how to: <br>Fine-tune search queries with keyword shortcuts and advanced syntax ...

    Programming Firefox

    ### 编程火狐:深入理解与应用 #### 核心知识点概述 ...总之,《Programming Firefox》这本书不仅为读者提供了全面的Firefox编程指南,还引导读者探索更广阔的技术领域,是一本非常有价值的参考资料。

    50 Android Hacks.pdf

    根据提供的信息,“50 Android Hacks.pdf”似乎是一份关于Android系统高级技巧和优化方法的手册。虽然在给出的部分内容中并未直接提及具体的技术细节,但从文件标题、描述及标签可以推断出这份文档主要围绕Android...

    Google Maps Hacks

    Even Google seems to be tacitly blessing what might be seen as unauthorized use, but maybe they just know a good thing when they see one. <br>With the tricks and techniques you'll learn from Google...

    programming firefox 2007

    ### 编程Firefox 2007:标准基础互联网应用设计与开发 #### 知识点一:目标读者群体及应用场景 **编程Firefox**这本书主要面向两类人群:设计师和开发者。这些人负责创建基于标准的互联网应用程序,这既包括服务器...

    swing hacks 文档+code

    Swing Hacks 是一个宝贵的学习资源,专门为Java Swing开发者提供了许多实用技巧和创新方法。Swing作为Java GUI(图形用户界面)库的核心部分,被广泛用于构建桌面应用程序。本资源由Swing的原始架构团队成员编写,...

    Google Hacks

    Google hacks is a collection of industrial-strength, real-world, tested solutions to practical problems

    网页兼容问题、IE、FireFox

    在网页开发过程中,兼容性问题始终是一个不可忽视的挑战,特别是在面对不同的浏览器,如Internet Explorer(IE)和Firefox时。本文将深入探讨IE5至IE9以及Firefox的兼容性问题,解析解决这些问题的方法,以及如何...

    [Linux] Raspberry Pi Hacks (英文版)

    [奥莱理] Raspberry Pi Hacks (英文版) [奥莱理] Raspberry Pi Hacks Tips & Tools for Making Things with the Inexpensive Linux Computer (E-Book) ☆ 图书概要:☆ With more than 60 practical and creative...

    Greasemonkey Hacks

    Greasemonkey Hacks.chm

    browser-hack-sass-mixins:浏览器hack sass mixin-将SCSS应用于特定的浏览器-CSS hacks:IE,Chrome,Firefox,Edge,Opera

    3. **Firefox Hacks**: - Firefox通常遵循W3C标准,但在某些版本中也存在特有的问题。可以通过`@-moz-document`规则,或者针对Firefox特定版本的CSS属性来实现hack。 4. **Edge Hacks**: - Microsoft Edge基于...

    Spidering Hacks

    Spidering_Hacks_100_Industrial_Strength_Tips_Tools_2003.chm This book teaches you the methodologies and algorithms behind spiders and the variety of ways that spiders can be used. Hopefully, it will ...

    Linux Server Hacks

    《Linux Server Hacks》这本书的标题和描述指向了一个关于Linux服务器技巧和工具的专业书籍,特别是关于连接、监控和故障排除的方面。从标题来看,这本书更侧重于教授读者一些高效、快捷的技巧(hacks),从而使得...

Global site tag (gtag.js) - Google Analytics