Mobile app version of vmapp.org
Login or Join
Shelley277

: Is minimising the number of Include directives in Apache config faster? In my Apache config file for domains hosted on my site, I have a couple of Include directives containing redirects: <VirtualHost

@Shelley277

Posted in: #Apache

In my Apache config file for domains hosted on my site, I have a couple of Include directives containing redirects:

<VirtualHost 127.0.0.1:8080>
Include /path/redirects1.conf
Include /path/redirects2.conf
</VirtualHost>


Would it be (appreciably) faster to combine these files into one file and so one Include directive?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelley277

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin317

It only makes a difference whilst reading (or re-reading) the config files. Unless you do that a lot do what ever is most natural and easiest to maintain.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme