Please Help With Memcached Setup

Dayo nginx-forum at nginx.us
Mon Aug 9 17:47:36 MSD 2010


My pseudo code should have been...:

[code]
if request for specified files {
	if file in memcache {
		serve file from memcache
	[color=#FF0033][b]} else if memcache error {
			proxy to apache[/b][/color]
	} else {
		try to put into memcache
		try to serve from memcache
		if unable to serve from memcache {
			proxy to apache
		}
	}
}
[/code]

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,117833,117837#msg-117837




More information about the nginx mailing list