Welcome! Log In Create A New Profile

Advanced

Re: Gzip issue with Safari

May 18, 2016 03:37AM
Let me try to explain it a little more detailed.

My main problem: "But the problem appears in Safari which
doesn't accept .gz file type extension", which means although we have enabled gziping on nginx and it's working on Chrome perfectly (we know this looking at network tab in developer tools, where we can see the size of the gzipped file one.dds that needed to be downloaded and it's around 2MB while the original one.dds filesize is around 4MB). I also checkede the header of the file, and Accept-Encoding has values GZIP, deflate, sdch.

But the same file loaded on iMac with Safari browser takes/loads 4MB, which clearly states that the Safari somehow doesn't accept or ignores files with .gz extension. I also checked file header and Accept-Encoding has: GZIP, deflate.

The same problems were already reported on some other forums, but they were able to solve the problem, because they're using Apache, which enables adding options as:
AddEncoding gzip .jsz
AddType text/javascript .jsz

I hope this links will help you understand my problem:
http://blog.bigsmoke.us/2012/01/16/safari-ignores-content-type-for-gz-suffix
http://stackoverflow.com/questions/962721/pre-compressed-gzip-break-on-chrome-why

regards,
m
Subject Author Posted

Gzip issue with Safari

mcofko May 16, 2016 06:06AM

Re: Gzip issue with Safari

itpp2012 May 16, 2016 06:23AM

Re: Gzip issue with Safari

mcofko May 16, 2016 06:28AM

Re: Gzip issue with Safari

Francis Daly May 17, 2016 01:26PM

Re: Gzip issue with Safari

mcofko May 18, 2016 03:37AM

Re: Gzip issue with Safari

Francis Daly May 18, 2016 01:06PM

Re: Gzip issue with Safari

sphax3d August 09, 2016 04:14AM

Re: Gzip issue with Safari

Valentin V. Bartenev August 09, 2016 10:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 322
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready