Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Caută ajutor

Atenție la excrocheriile de asistență. Noi nu îți vom cere niciodată să suni sau să trimiți vreun SMS la vreun număr de telefon sau să dai informații personale. Te rugăm să raportezi activitățile suspecte folosind opțiunea „Raportează un abuz”.

Află mai multe

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 răspunsuri
  • 1 are această problemă
  • 18 vizualizări
  • Ultimul răspuns dat de FredMcD

mai multe opțiuni

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.

Soluție aleasă

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

Citește răspunsul în context 👍 0

Toate răspunsurile (5)

mai multe opțiuni

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.

mai multe opțiuni

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.

mai multe opțiuni

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

mai multe opțiuni

Soluție aleasă

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

mai multe opțiuni

That was very good work. Well done.