Welcome to Centmin Mod Community
Become a Member

Wordpress - Redis Nginx Caching ?

Discussion in 'Blogs & CMS usage' started by Pablin, Apr 4, 2016.

  1. Pablin

    Pablin New Member

    12
    2
    3
    Apr 4, 2016
    Ratings:
    +2
    Local Time:
    8:48 AM
    1.9.13
    10
    Thanks.

    Anyways, for what I am reading, you recommend full Redis rather than pagespeed, right? I am testing now to set up Redis.
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,883
    6,907
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,400
    Local Time:
    10:48 AM
    Nginx 1.13.x
    MariaDB 5.5
    I am assuming you're talking about with Wordpress ?

    Yep these days it is recommended. Bit of background below:

    Centmin Mod has a centmin.sh menu option 22 for Wordpress auto installer + WP Super Cache out of the box. This is adequately fast at the time I created this auto installer.

    Cache Enable Alternative to WP Super Cache Plugin



    Then came along a similar Wordpress plugin created by KeyCDN folks called, Cache Enabler. It's Nginx configuration options are virtually identical to WP Super Cache for nginx vhost configuration level. The difference is the PHP coded side of Cache Enabler WP Plugin seems alot easier to setup and less finicky than WP Super Cache when initially enabling it and the options are more simplified. As such for testing purposes, I have added optional support for Cache Enabler in centmin.sh menu option 22 ONLY for Centmin Mod 123.09beta01 builds (not 123.08 stable). For 123.08 stable Centmin Mod, to switch from WP Super Cache to Cache Enabler, follow the manual instructions outlined here instead.

    Redis Nginx Level Cache + Redis Object Cache WP Plugin



    However, there's an even more performant option alternative to WP Super Cache and Cache Enabler. That is provided you first have Redis server installed and configured. The Redis Nginx level cache + Redis object cache will be much faster than WP Super Cache or Cache Enabler. From testing with the Redis caching combination, it is at least 45% faster than WP Super Cache (Cache Enabler would be same as WP Super Cache as the underlying Nginx configuration level setup is virtually the same for setting up static page level caching).
     
  3. Pablin

    Pablin New Member

    12
    2
    3
    Apr 4, 2016
    Ratings:
    +2
    Local Time:
    8:48 AM
    1.9.13
    10
    Yes, that's correct. I am talking about Wordpress.

    Thanks, that's what I was reading in your other posts.

    I am migrating already live sites into my set up. I created a new site with the option 22 to test it out. ;) But the other ones I was doing in them with the basic option 2.

    Any possible problems with Redis when I migrate my multisite with subdomains? I found some guides from other users for subdirectories, but no mention about subdomains.
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,883
    6,907
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,400
    Local Time:
    10:48 AM
    Nginx 1.13.x
    MariaDB 5.5
    never used wordpress multi-site so you'd be on your own there :)
     
  5. Pablin

    Pablin New Member

    12
    2
    3
    Apr 4, 2016
    Ratings:
    +2
    Local Time:
    8:48 AM
    1.9.13
    10
    Haha, ok, thanks. ;)
    I guess that similar rules as I had before in my nginx should work. We will find out. ;)
     
  6. GamerJota

    GamerJota New Member

    27
    4
    3
    Mar 1, 2016
    Chile
    Ratings:
    +12
    Local Time:
    9:48 PM
    1.11.2
    10.1.16-1
    • Like Like x 1
  7. Pablin

    Pablin New Member

    12
    2
    3
    Apr 4, 2016
    Ratings:
    +2
    Local Time:
    8:48 AM
    1.9.13
    10
    Thanks ;)