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

Meaning of "slow cache count"

8 views
Skip to first unread message

Eduardo Trápani

unread,
Jul 28, 2017, 11:04:12 PM7/28/17
to dev-...@lists.mozilla.org
Hi,

Context aboutNetworking.rcwnCacheSlow

Resource path toolkit/chrome/global/aboutNetworking.dtd
<https://pontoon.mozilla.org/eo/firefox/toolkit/chrome/global/aboutNetworking.dtd/>

What is "slow cache count" supposed to mean? I've seen it translated as
a "slow count of the cache" and "count the times the cache has been
slow", "cache slow" left untranslated...

Eduardo.

Francesco Lodolo [:flod]

unread,
Jul 29, 2017, 2:40:19 AM7/29/17
to dev-...@lists.mozilla.org
Il 29/07/17 05.03, Eduardo Trápani ha scritto:
Used in about:networking. RCWN stands for "Race Cache With Network"

Description of this feature: The RCWN feature in Necko adds the ability
to race the cache with the network when the cache is slow. So if reading
from the disk is slow, we will send a network request, and return the
channel from the network, even though we have the entry in the cache.
This way we provide the content to consumers faster.

Those two strings basically mean: ”How many time cache/net won”

Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1378713

Francesco

Francesco Lodolo [:flod]

unread,
Jul 29, 2017, 2:47:48 AM7/29/17
to dev-...@lists.mozilla.org
Il 29/07/17 08.40, Francesco Lodolo [:flod] ha scritto:
Sorry, hit send while copying from
https://docs.google.com/document/d/1VgLxz8XP1EqeppuuwewjOR-few6VgrySJQiGtXJi3qc/edit#heading=h.gc6y0vcjannu

Those two strings landed in this bug
https://bugzilla.mozilla.org/show_bug.cgi?id=1377568
https://hg.mozilla.org/mozilla-central/diff/655965b07027/toolkit/locales/en-US/chrome/global/aboutNetworking.dtd

Which prompted me to file the bug to stop exposing those strings to
localization.

They're related to RCWN, so I assume they refer to count how many time
the cache was slow or not. But that's me guessing.

Francesco




Eduardo Trápani

unread,
Jul 29, 2017, 11:38:11 AM7/29/17
to dev-...@lists.mozilla.org
> Those two strings basically mean: ”How many time cache/net won”

I think we translated that text before. It's clearer, I think. Now I get it.

Interesting feature, that race.

> Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1378713

Ok, let's discuss it over there. Thanks for the pointer and explanation.

Eduardo

Eduardo Trápani

unread,
Jul 29, 2017, 11:42:47 AM7/29/17
to dev-...@lists.mozilla.org
> Which prompted me to file the bug to stop exposing those strings to
> localization.

Maybe you could start a thread here to see how the rest of the teams
feel about the currently not localizable parts of the UI.

And depending on the results we could start either tracking them so that
they become localizable or reach some kind of agreement on what should
be localizable and what not.

Eduardo.
0 new messages