Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

browser.cache.check_doc_frequency

1,508 views
Skip to first unread message

captjlddavis

unread,
Apr 5, 2007, 1:10:13 AM4/5/07
to
Can one of the knowledgeable people please explain the
browser.cache.check_doc_frequency settings ?
I understand setting 0 = 0 checks once per session.
I understand setting 1 = 1 checks each time the webpage is loaded.
I understand setting 2 = 2 specifies that the cached version is used if
it exists.

But I do not understand setting 3 = checks automatically (Whenever it’s
out of date).

Lets say I visit a site, page is loaded into cache, I visit several
other sites. ( same tab )
When, how does the first site cache update in cache assuming that it
does not have the program focus.

Any help appreciated.

regards:captjlddavis

Brian Heinrich

unread,
Apr 5, 2007, 1:51:12 AM4/5/07
to

If you use <Ctrl>+I to look at the information about a page, you'll see that
there's a Date Modified field.

What Fx should do -- at least in theory -- is check to see if that value has
changed and, if it hasn't, load it out of cache (assuming there is still a
copy in cache).

Whether it actually works that way or not is another matter entirely. . . .

--
/b.

String quartets don't march very well.
--Donald Barthelme, /The Dead Father/


captjlddavis

unread,
Apr 5, 2007, 2:13:20 AM4/5/07
to
Thanks Brian,
Sound reasonable, what I was wundering is WHEN it makes this comparison?
Surely it does not continually poll the cache looking for outdated
pages ... I am thinking that when you return to the page and it gets
focus...then it would make the comparison...does that sound reasonable ?

regards:captjlddavis

Moz Champion (Dan)

unread,
Apr 5, 2007, 11:40:25 AM4/5/07
to
captjlddavis wrote:
> On 4/4/2007 10:51 PM, Brian Heinrich wrote:
>> On 2007-04-04 23:10 (-0600 UTC), captjlddavis wrote:
>>
>>> Can one of the knowledgeable people please explain the
>>> browser.cache.check_doc_frequency settings ?
>>> I understand setting 0 = 0 checks once per session.
>>> I understand setting 1 = 1 checks each time the webpage is loaded.
>>> I understand setting 2 = 2 specifies that the cached version is used if
>>> it exists.
>>>
>>> But I do not understand setting 3 = checks automatically (Whenever it’s
>>> out of date).
>>>

>>


>> What Fx should do -- at least in theory -- is check to see if that value has
>> changed and, if it hasn't, load it out of cache (assuming there is still a
>> copy in cache).
>>

> Thanks Brian,


> Sound reasonable, what I was wundering is WHEN it makes this comparison?
> Surely it does not continually poll the cache looking for outdated
> pages ... I am thinking that when you return to the page and it gets
> focus...then it would make the comparison...does that sound reasonable ?
>
> regards:captjlddavis

The comparison is made when you access the page.

When you click on the page or go back to it, Firefox compares the page
on the site to the one in the cache.

If setting is 0 (once per session) then the page is checked once, but
never again

If setting is 1 (everytime) the page is checked/compared every time you
visit it (go back)

If setting is 2 (never) no comparisons are done

If setting is 3 (auto) then the page is compared when you access it AND
if the date setting has changed

captjlddavis

unread,
Apr 5, 2007, 1:35:55 PM4/5/07
to

Thanks Dan,
All is now clear

regards:captjlddavis

0 new messages