Maybe I should add, that the returned HTML is *always* correct, whether memcached finds it in memory or not...it's only the status code header that is wrong. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,15451,15452#msg-15452