Re: Lower max size of HTTP cache?
Jason Duell <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.netlib |
|---|---|
| Message-ID | <[email protected]> |
On 12/06/2011 02:08 PM, Christian Biesinger wrote: > On Mon, Dec 5, 2011 at 11:07 PM, Jason Duell<[email protected]> wrote: >> Given the amount of grief (startup/shutdown delays) that deleting >> corrupted HTTP caches is causing us, I wonder if we should consider >> shrinking the max size from 1 GB to something smaller so that >> deletions have a smaller upper time bound. > Just curios, why does a big cache cause startup/shutdown delays? Last > I checked we just renamed the cache directory if we find it corrupt > and then delete it on a background thread, so that should be very > little delay? We had a couple issues with both shutdown and startup: https://bugzilla.mozilla.org/show_bug.cgi?id=705761 https://bugzilla.mozilla.org/show_bug.cgi?id=701909 The 1st is likely to be fixed now, and possibly the 2nd, but it's not clear if we're sometimes seeing some issue at startup. Telemetry will tell us. Jason