Archives For cache

speed up firefox

There are a variety of ways to improve your Firefox browser’s page load times. If you have a lot of RAM to spare in Ubuntu, moving Cache to RAM can speed up Firefox since computer can access data in RAM much faster than on a hard drive.

Firefox has a built-in feature that uses the browser cache in memory instead of disk. Below I’ll you how to enable it:

1. In address bar of Firefox, type in about:config and hit Enter. Click the button says “I’ll be careful, I promise!” to pass the warning page.

Firefox Advanced Settings

2. Stop Firefox from caching to disk.

In the filter bar, type in browser.cache.disk.enable. Double-click on the result line to set value to false.

Disable Cache to Hard Drive

3. Enable cache to RAM and assign cache size.

To enable cache to RAM, type “browser.cache.memory.enable” in the filter bar and make sure the value of result preference is true!

To assign cache size, create a new preference:

  • right click on blank area -> select “New” -> Integer
  • type in name “browser.cache.memory.capacity” (without quotes)
  • type in a value, number in KB (for example, 100000 means 100,000KB or 100MB). You can set the value to -1 to tell Firefox to dynamically determine the cache size.

Enable Memory cache

When everything’s done, restart Firefox and check out the cache information by going to the about:cache page.

Firefox Cache Information

That’s it. Enjoy!

This simple tutorial will show you how to flush or clear your system’s DNS records on Ubuntu 13.04 Raring and 12.10 Quantal.


  • Flush DNS records on Ubuntu 13.04 or Ubuntu 12.10
  • Enjoy!

To get started, press Ctrl+Alt+T to open a terminal window.

Open Terminal to run commands

Then run command to flush dns:

sudo /etc/init.d/dns-clean restart

You can also use this command:

sudo /etc/init.d/networking force-reload

In addition, to flush nscd dns cache:

sudo /etc/init.d/nscd restart

To flush dnsmasq dns cache:

sudo /etc/init.d/dnsmasq restart