<font color="#000099">Thanks.<br></font><br><div class="gmail_quote">On Fri, Nov 4, 2011 at 3:18 PM, Valentin V. Bartenev <span dir="ltr"><<a href="mailto:i@vbart.ru">i@vbart.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On Friday 04 November 2011 12:55:45 Quintin Par wrote:<br>
> On second thought don’t you think the file check in the “if” condition is<br>
> expensive considering it will be executed on every hit?<br>
<br>
</div>If you don't deal with high-load or dedicated file storage with big access<br>
latency, then don't worry. IMHO.<br>
<br>
Also, you can try to tune Nginx open file cache:<br>
<a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#open_file_cache" target="_blank">http://nginx.org/en/docs/http/ngx_http_core_module.html#open_file_cache</a><br>
<div><div></div><div class="h5"><br>
wbr, Valentin V. Bartenev<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></div></div></blockquote></div><br>