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

搜索 | 用户支持

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

详细了解

"Automatically clearing cache and site data" is not working

  • 3 个回答
  • 1 人有此问题
  • 25 次查看
  • 最后回复者为 cor-el

more options

I tried following the instructions for "automatically clear the cache" here: http://mzl.la/18byRQJ Which basically say to go to Options - Privacy & Security Settings In the drop-down menu next to Firefox will, choose Use custom settings for history. Select the check box for Clear history when Firefox closes. Beside Clear history when Firefox closes, click the Settings… button. The Settings for Clearing History window will open. In the Settings for Clearing History window, put a check mark next to Cache.

I did this. I also have check marks next to Cookies, Active Logins, Site Preferences, and Offline Website Data. But I was still finding that when I looked at "Cookies and Site Data: Your stored cookies, site data, and cache are currently using __ of disk space" just after closing and reopening Firefox, the amount of disk space used would still be a significant amount, and so there were times when I needed to manually clear the data (we have been told by a cloud-based ERP we use, that clearing the data is recommended when their pages are not loading optimally). But I should not have to be doing this manual clearing; it is supposed to be happening automatically when Firefox is closed and reopened. I noticed that slightly below "Cookies and Site Data: Your stored cookies, site data, and cache are currently using __ of disk space" in the latest versions of Firefox there is now a check-box that says "Delete cookies and site data when Firefox is closed." For me it was unchecked. I was confused as to why I should have to check this box since it should already be covered in the Settings for Clearing History window, but I checked the box just to cover all my bases. I also clicked on the "Manage Permissions" button beside "Delete cookies and site data when Firefox is closed," and made sure that there were not any exceptions populating it. There were not. But there are times when after closing and reopening Firefox, I will still find a significant amount of disk space being taken up in "Cookies and Site Data: Your stored cookies, site data, and cache are currently using __ of disk space" and the only way I can figure out to get it to clear is to clear it manually. What is causing this? How can I get it to all clear automatically when closing Firefox?

I tried following the instructions for "automatically clear the cache" here: http://mzl.la/18byRQJ Which basically say to go to Options - Privacy & Security Settings In the drop-down menu next to Firefox will, choose Use custom settings for history. Select the check box for Clear history when Firefox closes. Beside Clear history when Firefox closes, click the Settings… button. The Settings for Clearing History window will open. In the Settings for Clearing History window, put a check mark next to Cache. I did this. I also have check marks next to Cookies, Active Logins, Site Preferences, and Offline Website Data. But I was still finding that when I looked at "Cookies and Site Data: Your stored cookies, site data, and cache are currently using __ of disk space" just after closing and reopening Firefox, the amount of disk space used would still be a significant amount, and so there were times when I needed to manually clear the data (we have been told by a cloud-based ERP we use, that clearing the data is recommended when their pages are not loading optimally). But I should not have to be doing this manual clearing; it is supposed to be happening automatically when Firefox is closed and reopened. I noticed that slightly below "Cookies and Site Data: Your stored cookies, site data, and cache are currently using __ of disk space" in the latest versions of Firefox there is now a check-box that says "Delete cookies and site data when Firefox is closed." For me it was unchecked. I was confused as to why I should have to check this box since it should already be covered in the Settings for Clearing History window, but I checked the box just to cover all my bases. I also clicked on the "Manage Permissions" button beside "Delete cookies and site data when Firefox is closed," and made sure that there were not any exceptions populating it. There were not. But there are times when after closing and reopening Firefox, I will still find a significant amount of disk space being taken up in "Cookies and Site Data: Your stored cookies, site data, and cache are currently using __ of disk space" and the only way I can figure out to get it to clear is to clear it manually. What is causing this? How can I get it to all clear automatically when closing Firefox?

所有回复 (3)

more options

Are closing all tabs before you close Firefox because otherwise session restore will store cookies for open tabs and restore these cookies automatically ?

more options

Users are generally clicking on the X in the upper right corner of the Firefox browser window, and when they do so, it asks, "are you sure you want to close all tabs?" and they are saying yes. So we were under the impression that this was not substantially different from closing tabs individually. You are saying that this way of going about the closing is the issue that is causing us to still have stored data on reopening?

more options

As long as it is possible to restore tabs and windows from the previous session (automatically or via the history menu) then you can expect to see cookie from website in these tabs. If you close the window then there is a higher chance to have these cookies saved, but if you close tabs before closing Firefox then this is still possible.

You can prevent storing cookies as part of session data by setting this pref to 2 on the about:config page.

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.