Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

What does *raced* from the dev tools - Network - Transferred mean?

  • 3 відповіді
  • 1 має цю проблему
  • 1861 перегляд
  • Остання відповідь від cor-el

more options

Hello,

What does (raced) mean in transferred elements? Seems to me the browser is getting the item from the server even though I've set a cache for jpeg and png files. Other similar items are locally cached as it should.

Thank you,

Hello, What does (raced) mean in transferred elements? Seems to me the browser is getting the item from the server even though I've set a cache for jpeg and png files. Other similar items are locally cached as it should. Thank you,
Прикріплені знімки екрана

Обране рішення

The Race Cache With Network (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.

There are four possible values for the Transferred column: 1) `13.2 KB` - a number saying how much data were transferred over the wire (perhaps compressed) 2) `cached` - a labels saying that the request came from the cache 3) `13.2 KB (raced)` - request is racing. The response was fetched from the server even if it's available in the cache. It was faster to get it from the server. 4) `cached (raced)` - request is racing. The response was fetched from the cache, but a request has been also sent to the server. The cache was faster in this case.

Читати цю відповідь у контексті 👍 2

Усі відповіді (3)

more options

Вибране рішення

The Race Cache With Network (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.

There are four possible values for the Transferred column: 1) `13.2 KB` - a number saying how much data were transferred over the wire (perhaps compressed) 2) `cached` - a labels saying that the request came from the cache 3) `13.2 KB (raced)` - request is racing. The response was fetched from the server even if it's available in the cache. It was faster to get it from the server. 4) `cached (raced)` - request is racing. The response was fetched from the cache, but a request has been also sent to the server. The cache was faster in this case.

Змінено TyDraniu

more options

Great and detailed answer. Thank you very much.

more options

What is the size of your disk cache as listed on the about:cache page?