Setting For browser.cache.frecency_half_life_hours

General discussion and chat (archived)
MoonMadness

Setting For browser.cache.frecency_half_life_hours

Unread post by MoonMadness » 2017-10-02, 16:33

Does any one know what the new "6" setting is for this pref? I know it's defaulted to this on 27x.
:)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35478
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Setting For browser.cache.frecency_half_life_hours

Unread post by Moonchild » 2017-10-02, 17:36

Do a search on cache frecency on MDN; it should provide some information.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

MoonMadness

Re: Setting For browser.cache.frecency_half_life_hours

Unread post by MoonMadness » 2017-10-02, 18:10

Not finding that easily. However, I noticed that older docs cite settings for 0,1,2,3 which I am familiar with what they do. I just can't easily find what the setting "6" does.

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Setting For browser.cache.frecency_half_life_hours

Unread post by adesh » 2017-10-02, 18:57

The 'least used' entries are recognized by the lowest value of frecency we re-compute for each entry on its every access. The decay time is controlled by the browser.cache.frecency_half_life_hours preference and defaults to 6 hours. The best decay time will be based on results of an experiment.
https://developer.mozilla.org/en-US/doc ... HTTP_cache
This is the first result on DDG with keywords: cache frecency mdn

Locked