Include Performance

Igor Sysoev igor at sysoev.ru
Thu Mar 13 18:00:40 UTC 2014


On 13 Mar 2014, at 21:59, abstein2 <nginx-forum at nginx.us> wrote:

> 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;

No impact.


— 
Igor Sysoev
http://nginx.com



More information about the nginx mailing list