Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

搜尋 Mozilla 技術支援網站

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

了解更多

extending cache time / making cache last indefinitly

  • 無回覆
  • 0 有這個問題
  • 5 次檢視
more options

Hello, I have a very weak internet connection and I've been experimenting with ways to lessen the burden of the slow connection by increasing the time that the cache from websites can stay on my computer (I've already increased browser.cache.disk.capacity and set browser.cache.check_doc_frequency to 2, but the files still end up expiring eventually forcing them to be re-downloaded even though I know these cache files never change).

So far I've had some success with this extension (https://addons.mozilla.org/en-US/firefox/addon/cache-longer/) it definitely works but very inconsistently so I've tried to directly edit the cache files found in Profiles\someprofile.default-release\cache2\entries but every time I edit the max-age on the cache-control line or any other line firefox just erases the cache file completely then re-downloads it.

TL;DR - Is there someway of getting firefox to ignore the cache file expiry dates and cache-control age or at least editing these files to extend their life?

I appreciate any help in this!

Hello, I have a very weak internet connection and I've been experimenting with ways to lessen the burden of the slow connection by increasing the time that the cache from websites can stay on my computer (I've already increased browser.cache.disk.capacity and set browser.cache.check_doc_frequency to 2, but the files still end up expiring eventually forcing them to be re-downloaded even though I know these cache files never change). So far I've had some success with this extension (https://addons.mozilla.org/en-US/firefox/addon/cache-longer/) it definitely works but very inconsistently so I've tried to directly edit the cache files found in Profiles\someprofile.default-release\cache2\entries but every time I edit the max-age on the cache-control line or any other line firefox just erases the cache file completely then re-downloads it. TL;DR - Is there someway of getting firefox to ignore the cache file expiry dates and cache-control age or at least editing these files to extend their life? I appreciate any help in this!