mdounin at mdounin.ru
Wed Aug 13 04:05:53 MSD 2008
On Tue, Aug 12, 2008 at 03:35:40PM -0700, mike wrote:
>On 8/12/08, Maxim Dounin <mdounin at mdounin.ru> wrote:
>> - Optimization is good, but only if doesn't change expected behaviour.
>How is this an optimization? If the first test fails, then check
>directory listing? Isn't it faster to take an enumerated list of
>parameters and check those first? You can test for a specific file, as
>opposed to opening a directory handle to check the listing or
It doesn't "check the listing". It only checks existence of
directory. This saves some syscalls if directory doesn't exists
and more than two index files configured.
More information about the nginx