F
F
Friend2016-12-24 13:10:41
Nginx
Friend, 2016-12-24 13:10:41

Why does gzip nginx uwsgi slow down the page load process?

I set different settings, but the process did not speed up


gzip on;
gzip_disable "msie6";
#gzip_vary on;
#gzip_proxied any;
#gzip_comp_level 6;
#gzip_buffers 16 8k;
#gzip_http_version 1.1;
#gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;

changed these settings
gzip_comp_level 6; from 6 to 9 changed
gzip_buffers 16 8k; set 32 ​​4k
but only increases the page load time
What should I do? What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
ТыжСисАдмин, 2016-12-24
@POS_troi

Задача gzip не ускорить загрузку а уменьшить количества трафика.
Включая gzip вы наоборот добавляете задержку на упаковку данных на стороне сервера и распаковку онных на стороне клиента.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question