搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 7 个回答
  • 0 人有此问题
  • 最后回复者为 bhoff1297

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

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题