Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Replacing existing cache file with another.

  • 1 svar
  • 1 har dette problemet
  • 3 views
  • Siste svar av tom.murtha

more options

Is it possible to edit an existing cache entry? I accidentally deleted my cache, but was able to recover some of the files, as well as restore an older back up of the file. In about:cache, I can see the cache for the backup file for the correct site at a size of 149kb with the header showing raw gzip data. (starting with 1f 8b) The recovered file I have I believe is the same cache entry, but the recovered version since it's sitting at 154kb.

My question is where do I find the 149kb version that is currently in my firefox cache? Browsing through the cache files the largest is only 42kb, and seems unrelated. Is there a way to replace the backed up version with the restored version? The files themselves are gzip compressed, but does firefox add it's own layer of compression for storing things that I need to undo first?

Is it possible to edit an existing cache entry? I accidentally deleted my cache, but was able to recover some of the files, as well as restore an older back up of the file. In about:cache, I can see the cache for the backup file for the correct site at a size of 149kb with the header showing raw gzip data. (starting with 1f 8b) The recovered file I have I believe is the same cache entry, but the recovered version since it's sitting at 154kb. My question is where do I find the 149kb version that is currently in my firefox cache? Browsing through the cache files the largest is only 42kb, and seems unrelated. Is there a way to replace the backed up version with the restored version? The files themselves are gzip compressed, but does firefox add it's own layer of compression for storing things that I need to undo first?

All Replies (1)

more options

Quick edit, I should add this is a hacky workaround to not having been able to recover the index file. The old backup should have an identical structure, so I just need to replace the cache file itself and the current index should hopefully pick it up.