為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

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

所有回覆 (7)

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

有幫助嗎?

more options

here a picture of WebConsole of one of the first partial chunks of diabdat.mpq

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題