Welcome! Log In Create A New Profile

Advanced

Re: nginx compression-at-edge (in front of a reverse proxy) compresses some content, not other ?

April 28, 2010 12:30PM
Hi Guillaume,

I think we crossed messages in the mail ...

On Wed, Apr 28, 2010 at 8:45 AM, Guillaume Filion <gfk@logidac.com> wrote:
> Your Apache/Varnish server returns:
> Content-Type: text/x-js
> for javascript files while nginx is configured to compress only those types:
> gzip_types text/plain text/css text/xml text/javascript
> application/x-javascript;
>
> My guess is that you should configure apache or varnish to return
> Content-Type: text/javascript
> instead.

Yes, I'd discovered that. For now I added the type to nginx's
gzip-types, and it seems to work.

I'll keep that there until I discover WHY my distro's apache2 _ships_
with that type definition in its mimetypes. I *suspect* some compat
with deprecated browser support, but it's just as likely a mistake ...
just not clear.

In any case -- thanks!

Ben

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx compression-at-edge (in front of a reverse proxy) compresses some content, not other ?

BenDJ April 27, 2010 09:12PM

Re: nginx compression-at-edge (in front of a reverse proxy) compresses some content, not other ?

Igor Sysoev April 28, 2010 02:30AM

Re: nginx compression-at-edge (in front of a reverse proxy) compresses some content, not other ?

Igor Sysoev April 28, 2010 02:36AM

Re: nginx compression-at-edge (in front of a reverse proxy) compresses some content, not other ?

BenDJ April 28, 2010 11:40AM

Re: nginx compression-at-edge (in front of a reverse proxy) compresses some content, not other ?

Igor Sysoev April 28, 2010 03:18PM

Re: nginx compression-at-edge (in front of a reverse proxy) compresses some content, not other ?

BenDJ April 28, 2010 03:36PM

Re: nginx compression-at-edge (in front of a reverse proxy) compresses some content, not other ?

Igor Sysoev April 28, 2010 03:46PM

Re: nginx compression-at-edge (in front of a reverse proxy) compresses some content, not other ?

BenDJ April 28, 2010 04:00PM

Re: nginx compression-at-edge (in front of a reverse proxy) compresses some content, not other ?

Guillaume Filion April 28, 2010 12:30PM

Re: nginx compression-at-edge (in front of a reverse proxy) compresses some content, not other ?

BenDJ April 28, 2010 12:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 312
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