<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On 22/12/2006, at 12:21 AM, Igor Sysoev wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">        </SPAN>location / {</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">            </SPAN>memcached_pass <SPAN class="Apple-converted-space">  </SPAN>name:11211;</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">            </SPAN>error_page <SPAN class="Apple-converted-space">      </SPAN>404<SPAN class="Apple-converted-space">  </SPAN>/fallback;</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">        </SPAN>}</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">        </SPAN>location = /fallback {</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">            </SPAN>proxy_pass <SPAN class="Apple-converted-space">      </SPAN>backend;</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">        </SPAN>}</FONT></P> </BLOCKQUOTE></DIV><BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks for the reply Igor</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Is it possible to ask Nginx to look in Memcached, but if not found to look on the local filesystem before passing to the backend?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>That would make things more efficient?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>thanks</DIV><DIV>Jason</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>