Re: Lower max size of HTTP cache?

Henri Sivonen <[email protected]>
Newsgroups gmane.comp.mozilla.devel.netlib
Message-ID <CAJQvAudBk8OUvq9ZFyJB969tqbV4OC-f-eaqoUtGkkRPbek_Ww@mail.gmail.com>
On Tue, Dec 6, 2011 at 9:07 AM, 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.

The cache size was increased recently (in the last 2 years or so), so
it would be good to make sure not to undo whatever good stuff the
cache increase was supposed to bring.

When the cache is found to be corrupt, could the whole directory be
renamed, a new cache created and the old one be deleted in the
background later?

-- 
Henri Sivonen
[email protected]
http://hsivonen.iki.fi/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.