WPCrafter Community

Find answers, ask questions, and connect with our
WordPress community around the world.

Home Community General Questions How To Use Redis

  • How To Use Redis

     Adam updated 8 months ago 2 Members · 4 Posts
  • Scott

    May 28, 2019 at 8:36 pm

    Hi Adam,

    In your YouTube video talking compairing the speed of Astra, Ocean, et al, you mentioned Redis being part of your performance stack.

    Can you share any advice/experiences using it?



  • Adam

    Jul 27, 2019 at 5:02 pm

    Redis is one thing I have been wanting to make a video on.

    It's super easy to implement (depending on your hosting company).

    For Cloudways, it's super easy to implement. But for shared hosting providers or managed WordPress hosting, you don't get options for it. WordPress is slow at times because its always retrieving data from a database. Redis reduces this by storing that data in memory. It delivers a huge speed boost.

    How to implement on Cloudways

    – Turn the feature on in your Cloudways control panel

    – Install the official Redis plugin on your WordPress website

    – There is a small bit of code you need to add to your wp-config file

    * Authentication Unique Keys and Salts.
    * Change these to different unique phrases!
    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
    define(‘WP_CACHE_KEY_SALT', ‘wordpress-2740-16429-51402.cloudwaysapps.com');
    define(‘WP_CACHE', true);

  • Scott

    Jul 28, 2019 at 9:19 am

    Thanks Adam. I'm giving Redis serious consideration to add to my dedicated server. 

    • Adam

      Jul 28, 2019 at 9:26 am

      Nothing beats it. For me, it's a must-have. Server-side caching will always deliver better results.

Log in to reply.

Original Post
0 of 0 posts June 2018

Stay Up To Date

Enter your name and email for the lates news, updates, and tutorials.