Welcome! Log In Create A New Profile

Advanced

Re: Gzip issue with Safari

Valentin V. Bartenev
August 09, 2016 10:48AM
On Tuesday 09 August 2016 04:14:39 sphax3d wrote:
> Hi,
>
> I discover the problem reported by mcofko yesterday when I see the nginx
> configuration generated by the W3 Total Cache extension for WordPress :
>
> if ($http_accept_encoding ~ gzip) {
> set $w3tc_enc .gzip;
> }
> if (-f $request_filename$w3tc_enc) {
> rewrite (.*) $1$w3tc_enc break;
> }
>
> It doesn’t use the gzip_static feature of nginx “because gz is not
> compatible with some versions of safari.”
> https://wordpress.org/support/topic/plugin-w3-total-cache-change-gzip-extension-to-gz
[..]

That doesn't make any sense.

The gzip static module doesn't need ".gz" in the requests, it just checks files
on the disk and serve them as the response like they were compressed on the fly.

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 265
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