hi, maybe this can help you <a href="http://www.ncache.org">www.ncache.org</a> <div><br><br><div class="gmail_quote">On Wed, Mar 4, 2009 at 1:10 PM, Adam Zell <span dir="ltr">&lt;<a href="mailto:zellster@gmail.com">zellster@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">For zero-copy I/O: <a href="http://wiki.codemongers.com/NginxHttpCoreModule#sendfile" target="_blank">http://wiki.codemongers.com/NginxHttpCoreModule#sendfile</a><br>
For serving static content: <a href="http://wiki.codemongers.com/NginxHttpGzipStaticModule" target="_blank">http://wiki.codemongers.com/NginxHttpGzipStaticModule</a><br>
<br>Note that sendfile won&#39;t help if utilizing HTTPS.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Mar 3, 2009 at 8:51 PM, Philip Murray <span dir="ltr">&lt;<a href="mailto:pmurray@open2view.com" target="_blank">pmurray@open2view.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">On 4/03/2009, at 4:47 PM, Daniel Rhoden wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
Hopefully this is a simple question to answer.  Is there any performance benefit of going to the trouble of setting up memcached for static pages?  I guess the question is, does nginx have its own form of storing frequently requested static resources, or does it read from the hard drive each time is serves those requests?<br>


<br>
My gut tells me nginx has something already built in to optimize requests for static pages without the complexity of memcached.<br>
</blockquote>
<br>
<br>
Hi Daniel,<br>
<br>
Nginx (to my knowledge) doesn&#39;t have such a facility, nor does it need one. The VM system of the operating system you&#39;re using will cache oft accessed data in memory, thus it won&#39;t always be read from disk.<br>


<br>
So you&#39;re experiencing high disk IO with just static pages, the best thing you can do in the short term is add more memory (which Memcache would need otherwise anyway)<br>
<br>
Cheers<br>
<br>
Phil<br>
<br>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Adam<br><a href="mailto:zellster@gmail.com" target="_blank">zellster@gmail.com</a><br>
</font></blockquote></div><br></div>