When the Firefox browser closes, I have configured it to clear everything except cache so that images load quickly on the next run.

However when I checked C:\Users\jacobgu\AppData\Local\Mozilla\Firefox\Profiles\gcpomq43.default\cache2 I saw that it contained .js and some other files as well.

Is there any way (or Addon) where I can auto-configure Firefox to store only images in my cache and nothing else?

1 Answer 1


I can't help you with blocking non-image file-types from the cache, but O can help with the question in the title.

Firefox: Remove all files from cache except images

To answer this question, try to download and install the free NirSoft MZCacheView that can manage the cache files.


Start it and click on the "Content Type" column to sort, select all files except images, and then use Del to delete the selected files.

  • Thanks. In my question I had asked how to auto-configure Firefox. Is there a way I can configure this plugin (say via a batch script) so that it deletes all the files except image files.
    – CuriousDev
    Oct 15, 2018 at 13:51
  • I don't think so.
    – harrymc
    Oct 15, 2018 at 13:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.