Places.frecency.*BucketCutoff

From MozillaZine Knowledge Base
Jump to navigationJump to search

Background

Firefox 3 introduced a number of improvements to the Location Bar. Among them were changes to how sites are ordered in the dropdown menu. Firefox takes into account how frequently and how recently sites in the browser history were visited, combining them into a statistic called “frecency.” The frecency of sites is calculated when the browser is idle. The way frecency is computed can be tweaked by a number of preferences.

Past visits are categorized into four “buckets,” based on the days since the visit. The visits in each bucket are given a different weight for frecency calculations. These preferences—of the form places.frecency.*BucketCutoff—determine the various cutoffs, in days, for the four possible buckets.

Possible values and their effects

The number of days since the visit required for a visit to fall into a given “bucket.”

By default, the following preferences and values exist, defining four buckets:

places.frecency.firstBucketCutoff
4
places.frecency.secondBucketCutoff
14
places.frecency.thirdBucketCutoff
31
places.frecency.fourthBucketCutoff
90

Caveats

  • Each bucket must be a greater number of days than the previous bucket.

First checked in

2008-01-25 by Dietrich Ayala

Has an effect in

  • Firefox (nightly builds since 2008-01-25)

Related bugs

Related preferences

External links