http://kb.mozillazine.org/index.php?title=Places.frecency.*BucketCutoff&feed=atom&action=historyPlaces.frecency.*BucketCutoff - Revision history2024-03-29T14:03:06ZRevision history for this page on the wikiMediaWiki 1.40.1http://kb.mozillazine.org/index.php?title=Places.frecency.*BucketCutoff&diff=36428&oldid=prevUnarmed: Add frecency MDC link2008-05-04T14:29:56Z<p>Add frecency MDC link</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:29, 4 May 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l2">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Background==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Background==</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>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.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>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 <ins style="font-weight: bold; text-decoration: none;">[http://developer.mozilla.org/en/docs/The_Places_frecency_algorithm </ins>“frecency.”<ins style="font-weight: bold; text-decoration: none;">] </ins>The frecency of sites is calculated when the browser is idle. The way frecency is computed can be tweaked by a number of preferences.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>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.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>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.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l42">Line 42:</td>
<td colspan="2" class="diff-lineno">Line 42:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [http://wiki.mozilla.org/User:Mconnor/PlacesFrecency Users:Mconnor/PlacesFrecency (MozillaWiki)]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [http://wiki.mozilla.org/User:Mconnor/PlacesFrecency Users:Mconnor/PlacesFrecency (MozillaWiki)]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [http://wiki.mozilla.org/User:Sspitzer/GlobalFrecency Users:Sspitzer/GlobalFrecency (MozillaWiki)]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [http://wiki.mozilla.org/User:Sspitzer/GlobalFrecency Users:Sspitzer/GlobalFrecency (MozillaWiki)]</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* [http://developer.mozilla.org/en/docs/The_Places_frecency_algorithm The Places frecency algorithm (Mozilla Developer Center)]</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Preferences]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Preferences]]</div></td></tr>
</table>Unarmedhttp://kb.mozillazine.org/index.php?title=Places.frecency.*BucketCutoff&diff=35319&oldid=prevUnarmed at 02:57, 27 January 20082008-01-27T02:57:50Z<p></p>
<p><b>New page</b></p><div>{{preference|pref=places.frecency.*BucketCutoff}}<br />
<br />
==Background==<br />
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.<br />
<br />
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.<br />
<br />
==Possible values and their effects==<br />
The number of days since the visit required for a visit to fall into a given “bucket.”<br />
<br />
By default, the following preferences and values exist, defining four buckets:<br />
;places.frecency.firstBucketCutoff<br />
:4<br />
;places.frecency.secondBucketCutoff<br />
:14<br />
;places.frecency.thirdBucketCutoff<br />
:31<br />
;places.frecency.fourthBucketCutoff<br />
:90<br />
<br />
==Caveats==<br />
* Each bucket must be a greater number of days than the previous bucket.<br />
<br />
==First checked in==<br />
[http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=nsNavHistory.cpp&branch=&root=/cvsroot&subdir=mozilla/toolkit/components/places/src&command=DIFF_FRAMESET&rev1=1.230&rev2=1.231 2008-01-25 by Dietrich Ayala]<br />
<br />
==Has an effect in==<br />
* Firefox (nightly builds since 2008-01-25)<br />
<br />
==Related bugs==<br />
* [https://bugzilla.mozilla.org/show_bug.cgi?id=394038 Bug 394038 - make url bar autocomplete frecency algorithm global]<br />
<br />
==Related preferences==<br />
* [[places.frecency.numVisits]]<br />
* [[places.frecency.updateIdleTime]]<br />
* [[places.frecency.*BucketWeight]]<br />
* [[places.frecency.(visit type)VisitBonus]]<br />
* [[places.frecency.unvisited(place type)Bonus]]<br />
<br />
==External links==<br />
* [http://developer.mozilla.org/en/docs/Places:Awesomebar Places:Awesomebar (Mozilla Developer Center)]<br />
* [http://wiki.mozilla.org/User:Mconnor/PlacesFrecency Users:Mconnor/PlacesFrecency (MozillaWiki)]<br />
* [http://wiki.mozilla.org/User:Sspitzer/GlobalFrecency Users:Sspitzer/GlobalFrecency (MozillaWiki)]<br />
<br />
[[Category:Preferences]]</div>Unarmed