Closed Bug 180340 Opened 23 years ago Closed 23 years ago

Large cache defined but only recent files get cached.

Categories

(Core :: Networking: Cache, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: bugtraq, Assigned: gordon)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.1) Gecko/20020826 I have set up a custom cache folder (j:\Mozilla), and my cache settings are set to: Memory:20mb Disk:30mb Compare : "when the page is out of date" I have also tried setting Disk: setting to much higher. The problem is that when I look in the cache folder, there are only ever a few files, never more than for the last 1-2 days. This slows browser activity (I have 56k modem connection). Reproducible: Always Steps to Reproduce: 1.Browse a lot over several days. 2.Check in cache file. Actual Results: Notice that only few files are stored in cache folder, earliest date is previous day. Expected Results: Maintain longer cache history.
Will, can you type 'about:cache' in the URL bar after you've "browsed a lot", and report the numbers back here. That will give us a better idea of what's happening with your cache. Thanks.
Results of my about:cache Memory cache device Number of entries: 611 Maximum storage size: 20480000 Bytes Storage in use: 10167161 Bytes Memory cache usage report: List Cache Entries Disk cache device --- I noticed it reset down to zero a few days ago, and it was immediately after a browser crash So it seems that certain types of browser crash zero the cache as well. My browser is 1.1. Number of entries: 1408 Maximum storage size: 102400000 Bytes Storage in use: 8766464 Bytes Cache Directory: J:\Mozilla\Cache List Cache Entries
If the browser crashes, we clear the cache on the next launch because the cache is in an unknown state. How often do you crash? Every couple of days? That would explain why you never have files more than a couple days old. If you think that could account for the behavior you see, please mark this bug as INVALID. There is also currently a maximum of 8192 entries in the disk cache, so it might not be able to take advantage of large amounts of disk space.
Cache is being cleared by browser crashes.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
verified INVALID per reporters comments bugtraq: please enter a bug describing your crash if you can consistantly reproduce it. Thanks.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.