Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there an extension for Firefox which I could use to schedule so that FF would clear the cache every x minutes or hours?

share|improve this question

Afaik, cached files are stored in a Cach-dir, in a hidden dir in your home.

find /home/eidylon/.mozilla/firefox/*.default/Cache/ -mmin +120

would find files there, older than 120 minutes. With a switch -delete you would get rid of all the older files:

find /home/eidylon/.mozilla/firefox/*.default/Cache/ -mmin +120 -delete

but don't hurry, I didn't investigate some files, which seem to be meta-files:

find /home/stefan/.mozilla/firefox/*.default/Cache/ -name "_CACHE_*" -printf "%f\n"
_CACHE_001_
_CACHE_002_
_CACHE_003_
_CACHE_MAP_

maybe they need to be in sync, so you should do an backup, before testing what happens on deletion. The files seem to be partly binary, and not trivial to understand.

If all goes well, you can write the command to your crontab with

crontab -e

for repeated cache-cleanings.

share|improve this answer

The Cache Status extension could do the trick for you

share|improve this answer
    
No scheduling though... – TFM May 8 '11 at 0:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .