Include Performance

abstein2 nginx-forum at nginx.us
Thu Mar 13 17:59:03 UTC 2014


Is there any negative performance impact with chaining include commands on
nginx?

For example, are any of these worse than any of the others from a
performance perspective:

In nginx.conf:
include domain_config_1.conf;
include domain_config_2.conf;

OR

In nginx.conf:
include domain_configs.conf;

In domain_configs.conf:
include domain_config_1.conf;
include domain_config_2.conf;

OR

In nginx.conf:
include domain_configs.conf;

In domain_configs.conf:
include domain_config_list.conf;

In domain_config_list.conf:
include domain_config_1.conf;
include domain_config_2.conf;

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248331,248331#msg-248331



More information about the nginx mailing list