How to Set Firefox's Cache to Zero

The cache increases Web page loading speed and reduces network bandwidth.
... Photodisc/Photodisc/Getty Images

When you visit a Web page using Firefox, the browser automatically stores data like text, images, styling information and JavaScript files in a specific location on your hard disk called the cache. This helps Firefox load the page more quickly the next time you visit it, because the browser retrieves the data from your hard disk rather than over the Internet. However, when information on a Web page is updated, Firefox still uses the old files stored in the cache. You can force Firefox to always load pages fresh from the Internet by changing the size of the cache to zero, either via Firefox's Options menu or the "about:config" entry.

1 Via Firefox Options

2 Click the Tools'' menu

Click the "Tools" menu, and then select "Options." If you're using OS X, launch the settings utility by clicking the "Application" menu, and then selecting "Preferences." On Linux, click "Edit," and then select "Preferences."

3 Click the Advanced'' button

Click the "Advanced" button, and then select the "Network" tab.

4 Check the box

Check the box labeled "Override automatic cache management.”

5 Click the down arrow

Click the down arrow on the "Limit cache to" spin box to highlight the current cache size, and then type "0" (without the quotes). The cache still contains your old data at this point, so click the "Clear Now" button to clear the cache completely.

6 Click to save your new cache setting

Click "OK" to save your new cache setting.

7 Via About:Config

8 Type about : config''

Type "about:config" (without the quotes) in the browser's address bar, and then press "Enter" to load your Firefox configuration settings. If Firefox displays the warning "This might void your warranty!", click the "I'll be careful, I promise!" button.

9 Type browser.cache.disk.capacity''

Type "browser.cache.disk.capacity" (without the quotes) in the search box to filter all settings except the one for cache size. This eliminates the possibility of changing the wrong setting by mistake.

10 Double-click the search result

Double-click the search result, type "0" (without the quotes) in the pop-up input box, and then click "OK."

11 Close the about

Close the about:config tab when you are done.

  • Information in this article applied Firefox 27.0. It may vary slightly or significantly with other versions of Firefox.

Allen Bethea has written articles on programming, web design,operating systems and computer hardware since 2002. He holds a Bachelor of Science from UNC-Chapel Hill and AAS degrees in office technology, mechanical engineering/drafting and internet technology. Allen has extensive experience with desktop and system software for both Windows and Linux operating systems.