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

搜尋 Mozilla 技術支援網站

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

了解更多

Firefox seems to add bytes to some cached items and the beginning and at the end. When I download and compare the source, it's different. Bug 1000338 occurs too

  • 5 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 FredMcD

more options

Some binary items cached by FF when viewed in a hex editor have 15 bytes added at the beginning, some bytes are added at the end and some bytes are scattered around the cached file. When I download the original file and compare the original file with the cached file, they differ in these added byte sequences. No application is launched that could have modified the cache files. What could be the problem? When I reload Firefox and open cache manager, I get bug 1000338 for these files. I'm not sure these two things are related though.

Some binary items cached by FF when viewed in a hex editor have 15 bytes added at the beginning, some bytes are added at the end and some bytes are scattered around the cached file. When I download the original file and compare the original file with the cached file, they differ in these added byte sequences. No application is launched that could have modified the cache files. What could be the problem? When I reload Firefox and open cache manager, I get bug 1000338 for these files. I'm not sure these two things are related though.

被選擇的解決方法

Yes, it's gzipped. Since the binary content was already compressed, gzip just added some header and random bytes here and there.

從原來的回覆中察看解決方案 👍 0

所有回覆 (5)

more options

Are you talking about; Bug 1000338 - nsICacheEntry.lastModified not properly implemented  ?

What is your computer system and Firefox?

Have you been having crashes? Please post them.

more options

FredMcD said

Are you talking about; Bug 1000338 - nsICacheEntry.lastModified not properly implemented  ?

Yes, but that's a minor issue for me. I wonder why some cache elements get corrupted. My FF version is 49.0.1. Windows 10 64bit. I had no crashes. I cleaned my cache several times.

more options

I just had an idea. Could it be that the file is transferred and stored compressed by gzip? Its content encoding is "gzip".

more options

選擇的解決方法

Yes, it's gzipped. Since the binary content was already compressed, gzip just added some header and random bytes here and there.

more options

That was very good work. Well done.