nginx ignores the case of how to set URL?

Igor Sysoev igor at sysoev.ru
Wed Oct 27 10:15:02 MSD 2010


On Wed, Oct 27, 2010 at 02:05:50AM -0400, ronin wrote:

> Does nginx ignores how to set up the case of URL, apache has
> CheckSpelling module, then nginx it?

No. nginx relies on filesystem case ignorance.

CheckSpelling functionality causes a lot of syscalls: instead of
open()/fstat()/close() it requires additionally
opendir()/readdir()/closedir() which cause at least 9 syscalls on FreeBSD.
They can be cached using nginx open_file_cache, but I think it's
better to use exact names: browsers do not ignore case when they cache
response.


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list