Places.frecency.*BucketCutoff: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
 
(Add frecency MDC link)
 
Line 2: Line 2:


==Background==
==Background==
Firefox 3 introduced a number of improvements to the [[:Category:Location Bar|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.
Firefox 3 introduced a number of improvements to the [[:Category:Location Bar|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 [http://developer.mozilla.org/en/docs/The_Places_frecency_algorithm “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 [[places.frecency.*BucketWeight|weight]] for frecency calculations. These preferences—of the form places.frecency.*BucketCutoff—determine the various cutoffs, in days, for the four possible buckets.
Past visits are categorized into four “buckets,” based on the days since the visit. The visits in each bucket are given a different [[places.frecency.*BucketWeight|weight]] for frecency calculations. These preferences—of the form places.frecency.*BucketCutoff—determine the various cutoffs, in days, for the four possible buckets.
Line 42: Line 42:
* [http://wiki.mozilla.org/User:Mconnor/PlacesFrecency Users:Mconnor/PlacesFrecency (MozillaWiki)]
* [http://wiki.mozilla.org/User:Mconnor/PlacesFrecency Users:Mconnor/PlacesFrecency (MozillaWiki)]
* [http://wiki.mozilla.org/User:Sspitzer/GlobalFrecency Users:Sspitzer/GlobalFrecency (MozillaWiki)]
* [http://wiki.mozilla.org/User:Sspitzer/GlobalFrecency Users:Sspitzer/GlobalFrecency (MozillaWiki)]
* [http://developer.mozilla.org/en/docs/The_Places_frecency_algorithm The Places frecency algorithm (Mozilla Developer Center)]


[[Category:Preferences]]
[[Category:Preferences]]

Latest revision as of 14:29, 4 May 2008

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