To disable the cache, set the number of entries to 0.

-Gordon

Ben Chuang wrote:
> 
> What would be the ideal method of disabling the DNS cache? Setting the time to
> 0 or entries to 0?
> 
> benc
> 
> gordon wrote:
> 
> > No, there is no DNS cache in mozilla 0.9.  We just landed the DNS cache
> > yesterday.   There are two preferences that use can use to control the
> > cache:
> >
> > network.dnsCacheEntries            : the maximum number of lookups that
> > will be cached (default is 32)
> > network.dnsCacheExpiration      : the number of seconds until a lookup
> > expires (default is 300, or 5 minutes)
> >
> > We don't not have access to the Time To Live value for lookups so we're
> > trying to strike a balance between client and server sides.  Clients would
> > like to cache a lookup forever, but this conflicts with some server farms.
> >
> > There is no UI for these preferences, but you can add them to your
> > prefs.js if you would like to change the defaults.
> >
> > -Gordon
> >
> > Eric Plaster wrote:
> >
> > > Does mozilla cache the DNS in mozilla .9?  If so, is there a pref entry
> > > in the prefs.js that will disable this?
> > >
> > > --
> > > ----
> > > Eric Plaster                    Universal Talkware Corp
> > > Senior Software Engineer        (612)843-6711
> > > [EMAIL PROTECTED]            http://www.talkware.net

Reply via email to