為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Clearing the Cache should Delete all subfolders which are found inside "Cache" & "Offline Cache" folders in the profile directory

  • 3 回覆
  • 4 有這個問題
  • 10 次檢視
  • 最近回覆由 Hasan

more options

I think this is applicable to all other Operating Systems & Firefox versions as well (although i have not checked the status of this issue on other platforms)

I have filed a Bug for this -> https://bugzilla.mozilla.org/show_bug.cgi?id=968764

Steps to reproduce:

Cleared browser cache using following methods: 1) Firefox button -> Options -> Network -> click "Clear Now" button 2) Firefox button -> History -> Clear Recent History or CTRL + SHIFT + DEL -> select "Cache" & "Offline Website Data" with "Time range to clear" set to "Everything"

Actual results:

Cache cleared but Firefox does not Delete any of the many subfolders which are created in the "Cache" & "Offline Cache" folders

Expected results:

Cache cleared and Firefox should have Deleted all subfolders in the "Cache" & "Offline Cache" folders

I think this is applicable to all other Operating Systems & Firefox versions as well (although i have not checked the status of this issue on other platforms) I have filed a Bug for this -> https://bugzilla.mozilla.org/show_bug.cgi?id=968764 Steps to reproduce: Cleared browser cache using following methods: 1) Firefox button -> Options -> Network -> click "Clear Now" button 2) Firefox button -> History -> Clear Recent History or CTRL + SHIFT + DEL -> select "Cache" & "Offline Website Data" with "Time range to clear" set to "Everything" Actual results: Cache cleared but Firefox does not Delete any of the many subfolders which are created in the "Cache" & "Offline Cache" folders Expected results: Cache cleared and Firefox should have Deleted all subfolders in the "Cache" & "Offline Cache" folders

由 Hasan 於 修改

所有回覆 (3)

more options

hello, what benefit would it have to clear the empty folder structure, when firefox would have to recreate the whole thing the next time it is caching an item (which would probably slow down the process at first)?

also see bug 597224.

more options

Thanks for replying Philipp and mentioning bug 597224.

The initial thought is that the "Cache" & "Offline Cache" folders' sub-directories are not used after the cache is cleared. New subfolders are created according to the need of a user's usage of cache and cache size. So the subfolders remain empty/unused for forever unless a user decides to Delete them manually. But most of the average users won't do so in fear that it will messup with their Firefox.

Firefox already deletes all cache files when the cache is cleared. Wouldn't it be better to keep the system clean from unused folders as well ??

This is a suggestion to add with the Clear Cache feature to keep the system clean from unused files & folders.

由 Hasan 於 修改

more options

A little more on the context:
I checked that after clearing my cache, there were around 300 empty & unused directories in the "Cache" folder and some in the "Offline Cache" folder.

This is the point i have raised by posting this question & filing the bug (mentioned above).