Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Firefox doesnt use cache for XHR plain file -> Chrome works fine!

  • 6 отговора
  • 0 имат този проблем
  • Последен отговор от cor-el

more options

i host diablo_web_simple on my root running nginx when i use chrome it only loads the chunks of diabdat.mpq once -> then loads them from cache when using firefox it always loads the chunks and doesnt use cache -> this results in slower load and less performance

diabdat.mpq = ~270mb chunksize = between 1-7mb combined chunksize of loading game: ~65mb

i already set in about:config browser.cache.check_doc_frequency 2

i also set headers for caching this file in nginx

nothing works pls help

i host diablo_web_simple on my root running nginx when i use chrome it only loads the chunks of diabdat.mpq once -> then loads them from cache when using firefox it always loads the chunks and doesnt use cache -> this results in slower load and less performance diabdat.mpq = ~270mb chunksize = between 1-7mb combined chunksize of loading game: ~65mb i already set in about:config browser.cache.check_doc_frequency 2 i also set headers for caching this file in nginx nothing works pls help

Всички отговори (6)

more options

Полезно?

more options

Полезно?

more options

I don't have any experience with serving files based on ranges (HTTP Status code 206)...

First question: is Firefox caching the chunks?

After the first load, if you open about:cache and click into the disk cache, can you Ctrl+F Find those chunks listed there?

If so, Second question: why doesn't Firefox match up the new requests to the cached chunks?

Полезно?

more options

Maybe a case of RCWN (Race Cache With Network), see about:networking#rcwn

  • about:config => network.http.rcwn

Полезно?

more options

jscher2000 -> no it does not cache the chunks -> nothing in about:cache disk

cor-el -> i dont know what to look for in RCWN

to all: https://bugzilla.mozilla.org/show_bug.cgi?id=1932581

Полезно?

more options

Полезно?

Задаване на въпрос

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.