Click here to Skip to main content
15,887,135 members
Articles / Browser
Tip/Trick

Disable Page Caching in Firefox

Rate me:
Please Sign up or sign in to vote.
4.33/5 (3 votes)
11 Nov 2014CPOL 19.4K   3   4
How to disable page caching in Firefox

Introduction

When you work in a project where static files caching is enabled, sometimes you can face a problem with this page caching. I was working in a django project where static files are cached. So whenever I do one line modification in my static files, those changes will not be reflected in my Firefox browser. It's because browser is collecting those files from cache. Ideally, it should fetch it again if there are some changes in any static file.

So to deal with this problem, I disabled page caching in Firefox.

Steps to Disable Page Caching

Step 1: Type about:config in your browsers address bar.

Step 2: It will redirect you to one confirmation page press "I will be careful" button.

Step 3: List of preference name will be shown to you with its value.

Step 4: Type "browser.cache.disk.enable" in your search box to search this preference.

Step 5: Its value will be True by default. Make it False by double clicking on line item.

Step 6: Restart Firefox.

Step 7: Repeat steps 1-6 for preference "browser.cache.memory.enable".

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionQuestion about your posting Pin
Carsten V2.011-Nov-14 7:29
Carsten V2.011-Nov-14 7:29 
AnswerRe: Question about your posting Pin
binit.ku.singh12-Nov-14 1:43
binit.ku.singh12-Nov-14 1:43 
GeneralRe: Question about your posting Pin
Carsten V2.012-Nov-14 3:35
Carsten V2.012-Nov-14 3:35 
GeneralRe: Question about your posting Pin
binit.ku.singh12-Nov-14 3:48
binit.ku.singh12-Nov-14 3:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.