Welcome! Log In Create A New Profile

Advanced

Re: Specify a Vary: Accept-Encoding header

Richard Stanway
July 20, 2017 08:46AM
The issue is not with your page size or gzip (or anything nginx
related actually). Your Rails backend is generating the content far
too slow. You should investigate why your backend is so slow.

time_namelookup: 0.004209
time_connect: 0.241082
time_appconnect: 0.000000
time_pretransfer: 0.241121
time_redirect: 0.000000
time_starttransfer: 20.519778
----------
time_total: 20.568794


On Thu, Jul 20, 2017 at 5:44 AM, Philip Rhoades <phil@pricom.com.au> wrote:
> People,
>
> I have moved my (very low hit) web sites from a Digital Ocean server to my
> own Fedora 25 x86-64 server with 8GB RAM and an ADSL2+ upload speed of only
> about 1Mbit/sec.
>
> The plain HTML and Jekyll sites response times are not too bad but the Rails
> sites are very slow.
>
> Using:
>
> https://tools.pingdom.com
>
> takes more than a minute to test one of my Rails sites:
>
> http://cryonics.org.au
>
> so it appears that I need to do something for all the Rails sites at least
> but ALL sites report a value of 50 or less for the condition in the Subject
> of this mail - I tried putting:
>
> gzip on;
> gzip_min_length 1100;
> gzip_buffers 4 32k;
> gzip_types text/plain application/x-javascript text/xml text/css;
> gzip_vary on;
>
> in the nginx server conf for cryonics.org.au and restarted nginx but it did
> not make any difference.
>
> Suggestions about how to improve the situation?
>
> Thanks,
>
> Phil.
> --
> Philip Rhoades
>
> PO Box 896
> Cowra NSW 2794
> Australia
> E-mail: phil@pricom.com.au
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Specify a Vary: Accept-Encoding header

Philip Rhoades July 19, 2017 11:46PM

Re: Specify a Vary: Accept-Encoding header

Richard Stanway July 20, 2017 08:46AM

Re: Specify a Vary: Accept-Encoding header

pbooth July 21, 2017 07:00AM

Re: Specify a Vary: Accept-Encoding header

pbooth July 24, 2017 03:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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