Page 1 of 1

compare nginx and apache-nginx

Posted: Sat Sep 02, 2017 9:12 am
by ducmu
i read doc and it said nginx and apache-nginx have the same load time

but in real, it has many diffrent

http://hanoi24.tk/truyenfull/: use vestaCP (apache-nginx)

timeload over 10s -20s:
https://tools.pingdom.com/#!/bN8niZ/htt ... truyenfull
https://gtmetrix.com/reports/hanoi24.tk/a0hyuDW0

http://dragonballwiki.net/ : use nginx
timeload: 5s -10s
https://tools.pingdom.com/#!/eKoeQj/htt ... lwiki.net/
https://gtmetrix.com/reports/dragonball ... t/xpZMjPTa

so nginx-apache is not Optimization than nginx?

Re: compare nginx and apache-nginx

Posted: Sun Sep 03, 2017 10:34 am
by gecube_ru
It is incorrect to directly compare
(a) different web sites
(b) and nginx to nginx+apache, because nginx can't handle dynamic contents. nginx can be used for static content and as reverse proxy to apache or php-fpm (or any other web server, for example, gunicorn), latter will serve the dymanic pages.

Also the nginx settings dramatically affect on the performance.

Re: compare nginx and apache-nginx

Posted: Wed Oct 18, 2017 6:56 am
by websystems
That is why in many cases it is good idea to use both - nginx for static pages, images etc. and apache for dynamic pages.