Closed Bug 137812 Opened 23 years ago Closed 23 years ago

The browser doesn't load cached pages (from web) after disk cache is full.

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 47266

People

(Reporter: teropp, Assigned: gordon)

References

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:0.9.9) Gecko/20020311 BuildID: 2002031104 After the disk cache (size 50MB) had gotten full, Mozilla simply didn't open web pages from cache anymore. Only pages that hadn't been visited earlier and thus hadn't been cached were opened. If you typed an url of a cached page, Mozilla opened a blank page or showed only texts but no images(only the filenames of the image in boxes). Rebooting the computer didn't solve the problem. Only after the disk cache was cleared Mozilla began to behave normally. Before clearing disk cache I checked the size of the folder and saw that it was full, the size of the folder being that 50MB which was selected as the size of disk cache in preferences. Reproducible: Didn't try
-> Cache
Assignee: Matti → gordon
Component: Browser-General → Networking: Cache
QA Contact: imajes-qa → tever
Summary: The browser doesn't load cached pages (from web) after disk cache is full. → The browser doesn't load cached pages (from web) after disk cache is full.
2 months gone, does it still happen with newer builds ?
Yes, it does. I'm using nightly build 2002071608 on Mandrake 7.2 (i386). This problem has been occurring since 0.98 or so, as I recall, although I never managed to think of a reason until today. I just tested it, and it manifested itself when I did the following: First, I started Mozilla. Surfed until the cache was at about 54000k -- it wouldn't go above that mark no matter what I did (50000 disk cache + 4096 memory cache). Then I deleted the Cache directory, and the bug immediately manifested itself. Not that the Cache directory will normally get deleted, but Mozilla should default to reloading documents from the network if the Cache it expects to have, has somehow vanished. i.e. it's not handling an exception properly, it seems.
Erm, sorry to spam, but I should have mentioned that there could be other bugs within Mozilla which cause the Cache to get corrupted or destroyed -- Mozilla doesn't appear to gracefully recover from missing Cache data or index data; instead, it just loads a blank page (or fails to load images, since it can't cache them). Basically, in any case where Mozilla goes to retrieve something from the Cache and finds that it's missing or corrupted, it should treat the page as being not cached, and act normally.
marking new, as we have several dups (which will follow)
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows ME → All
Hardware: PC → All
*** Bug 142070 has been marked as a duplicate of this bug. ***
*** Bug 150871 has been marked as a duplicate of this bug. ***
*** Bug 167587 has been marked as a duplicate of this bug. ***
Deleting the disk cache out from under mozilla sounds like a dup of bug 47266. Running into disk limitations is a duplicate of bug 170066. Disk cache could use a bit better error handling for these cases. Marking duplicate. *** This bug has been marked as a duplicate of 47266 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.