How to use Nginx Memcache module for Xenforo?

jeffwidman

Active member
Xenforo supports Memcache, but the way it currently works, the request comes into Nginx, then Nginx spawns PHP process, then that PHP process talks to Memcache.

However, Nginx has a built-in Memcached module, so theoretically, it's possible to cut out the PHP process middleman, and just go Nginx --> Memcache which should be lightning fast.

Does anyone know if it's possible to set this up for Xenforo?
 
Xenforo supports Memcache, but the way it currently works, the request comes into Nginx, then Nginx spawns PHP process, then that PHP process talks to Memcache.

However, Nginx has a built-in Memcached module, so theoretically, it's possible to cut out the PHP process middleman, and just go Nginx --> Memcache which should be lightning fast.

Does anyone know if it's possible to set this up for Xenforo?
The PHP process isn't serving an entirely cached page like the nginx module does. XenForo just caches some data in memcached so it doesn't have to be retrieved on every request.

You could setup static caching in nginx for guests though, and possibly use the nginx module for that.
 
Top Bottom