为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

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

有帮助吗?

我要提问

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