Recent answers to Content corrupted error on my website, and I can't figure whyhttps://support.mozilla.org/en-US/questions/10816312015-09-02T22:22:02-07:00The website is behind Citrix Netscaler, and it is the reason the large javascript code is present at2015-09-02T22:22:02-07:00fboulethttps://support.mozilla.org/en-US/questions/1081631#answer-776869<p>The website is behind Citrix Netscaler, and it is the reason the large javascript code is present at the start of the file (it contains the two calls to test.aspx).
</p><p>The error in the console is flagged as warning, so I thought it wouldn't be the cause of the content corrupted error.
</p><p>We'll try to remove that code and see where it goes from there.
</p><p>Thanks!
</p>I think that the problem is the that page source start with a rather long JavaScript.
Firefox is sea2015-09-02T07:46:18-07:00cor-elhttps://support.mozilla.org/en-US/questions/1081631#answer-776666<p>I think that the problem is the that page source start with a rather long JavaScript.
Firefox is searching for the HTML tag with the content encoding and doesn't find it in the first 1024 bytes as you can see in the Web Console (Firefox/Tools &gt; Web Developer).
</p>
<blockquote>The page was reloaded, because the character encoding declaration of the HTML document was not found when prescanning the first 1024 bytes of the file. The encoding declaration needs to be moved to be within the first 1024 bytes of the file.
</blockquote>
<p>Reloading the page doesn't work properly with the HTTP cache enabled and that causes the content encoding error.
I see requests for https://www.longueuil.quebec/ens10/app/ext/suser/test.aspx
</p>Firefox; https://www.longueuil.quebec/fr
Corrupted Content Error
Win IE works fine
I've called the 2015-09-02T04:56:09-07:00fredmcd-hotmailhttps://support.mozilla.org/en-US/questions/1081631#answer-776607<p>Firefox; https://www.longueuil.quebec/fr
Corrupted Content Error
</p><p><br>
Win IE works fine
</p><p>I've called the big guys to help you. Good luck.
</p>