1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to use Nginx Memcache module for Xenforo?

Discussion in 'Server Configuration and Hosting' started by jeffwidman, Apr 24, 2015.

  1. jeffwidman

    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?
  2. RoldanLT

    RoldanLT Well-Known Member

  3. Jeremy P

    Jeremy P Well-Known Member

    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.
    jeffwidman likes this.
  4. RoldanLT

    RoldanLT Well-Known Member

    The link I posted above.
    Jeremy P likes this.

Share This Page