为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Meaning of subfolders in Firefox profile

more options

I am trying to backup my Firefox profile in my computer (running Ubuntu LInux 20.04) and found something I've never seen before. Can someone help me understand what these are. In my profile folder, `~/.mozilla/firefox/xxxx.default-release/`, I found a large subfolder called "storage". For example, if I run `du` command under shell, I got the following summary disk usage:

   940     ./bookmarkbackups
   56      ./crashes
   4508    ./datareporting
   376     ./extensions
   48      ./gmp
   1364    ./gmp-gmpopenh264
   9104    ./gmp-widevinecdm
   4       ./minidumps
   4       ./saved-telemetry-pings
   4544    ./security_state
   4776    ./sessionstore-backups
   1663496 ./storage
   876     ./weave

Clearly the "storage" folder is exceeding anything else in terms of usage. Further investigation found "default" subfolder and inside, many site-specific folders such as `https+++www.youtube.com`.

Two questions:

1. What does "storage" subfolder contain? In addition, what do these subfolders contain: gmp, gmp-gmpopenh264, gmp-widevinecdm, minidumps, saved-telemetry-pings, security_state, sessionstore-backups, weave?

2. Is this "storage" folder safe to omit for the purpose of backing up the profile?

I am trying to backup my Firefox profile in my computer (running Ubuntu LInux 20.04) and found something I've never seen before. Can someone help me understand what these are. In my profile folder, `~/.mozilla/firefox/xxxx.default-release/`, I found a large subfolder called "storage". For example, if I run `du` command under shell, I got the following summary disk usage: 940 ./bookmarkbackups 56 ./crashes 4508 ./datareporting 376 ./extensions 48 ./gmp 1364 ./gmp-gmpopenh264 9104 ./gmp-widevinecdm 4 ./minidumps 4 ./saved-telemetry-pings 4544 ./security_state 4776 ./sessionstore-backups 1663496 ./storage 876 ./weave Clearly the "storage" folder is exceeding anything else in terms of usage. Further investigation found "default" subfolder and inside, many site-specific folders such as `https+++www.youtube.com`. Two questions: 1. What does "storage" subfolder contain? In addition, what do these subfolders contain: gmp, gmp-gmpopenh264, gmp-widevinecdm, minidumps, saved-telemetry-pings, security_state, sessionstore-backups, weave? 2. Is this "storage" folder safe to omit for the purpose of backing up the profile?

所有回复 (3)

more options

For an exact answer to your question, you would need to talk to the programmers.

The reason for subfolders is so that files for one use do not get mixed up with other files.

more options

That storage folder is used to store data from websites and extensions (moz-extension://) and other internal storage (indexedDB). You can possibly cleanup the "storage/default" folder and remove websites you visited long ago, but be cautious.

See also:

  • Options/Preferences -> Privacy & Security
    Cookies and Site Data: "Manage Data" and "Clear Data"
more options

wirawan0 said

In addition, what do these subfolders contain: gmp, gmp-gmpopenh264, gmp-widevinecdm, minidumps, saved-telemetry-pings, security_state, sessionstore-backups, weave?

Some of those sound familiar:

  • gmp-gmpopenh264 => this is a plugin from Cisco used for H.264 compression on WebRTC connections Why is there an OpenH264 plugin in Firefox?)
  • gmp-widevinecdm => this is a plugin from Google used to unlock DRM-protected media (Watch DRM content on Firefox)
  • minidumps => I think this is captured when crash reports are generated
  • security_state => this may contain a single .bin file of trusted certificates (or nothing)
  • sessionstore-backups => session history files for the currently live session (if applicable) and a few past sessions (used for crash recovery or the restore previous session feature)
  • weave => something related to Firefox Sync (weave was the development name of Sync)