I have a pretty big JavaScript file here which I want to embed into my website. The HTTP server is smart enough to GZIP the file before delivering it to the browser.
However, I tested with Google Chrome and Safari.
On Chrome, it works very well. 400K go down compressed to around 100k:
BUT on Safari compression doesn't work:
The funny thing is, in gz2b.png you can clearly see that content-encoding is set to "gzip".
Note: I already read up on a GZIP-Bug in Safari where files cannot end on ".gz" or Safari won't accept GZIP. Since my file does not end on .gz this problem shouldn't be an issue.
I've run into this problem as well, while trying to optimize the load time of a website on iOS7 Safari mobile iPad.
Safari chose a really weird way of representing these numbers in their debugger.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With