Closed Bug 170610 Opened 23 years ago Closed 22 years ago

Cache directory should be cleaned up if _CACHE_MAP_ is missing as it is when the file is corrupt

Categories

(Core :: Networking: Cache, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.3alpha

People

(Reporter: ktadej, Assigned: gordon)

References

Details

Suprised not to find this is a duplicate. I am pretty sure this is all platforms, but I have only confirmed it on: RedHat Linux 7.0 - Win2000 - HP-UX (11.00, 11i). When the _CACHE_MAP_ file is corrupt, all of the caches file disappear at startup, and the _CACHE_???_ files are recreated. However if the _CACHE_MAP_ file is missing at startup, it is created, the _CACHE_001_ file is updated, but all of the previous cache files are left behind, and Edit>Preferences>Advanced>Cache>Clear Disk Cache has no effect. Always reproducable. Steps to reproduce: 1 - stop the browser. 2 - remove the _CACHE_MAP_ file from the appropriate profile. 3 - start the browser 4 - examine the Cache directory for that profile noting the files with timestamps that preceed the _CACHE_MAP_ file. 5 - attempt to clear the "Disk Cache" through the Preferences. 6 - note that the cache files were not removed.
Build ID for Linux - Gecko/20020924 (Mozilla 1.2b)
This would be good to clean up.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
Target Milestone: --- → mozilla1.3alpha
Marking FIXED with landing of patch for bug 103851.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.