Redis Object Cache

For windows IIS server and WordPress

One of the hardest things to find for us is the redis php DLL for windows PHP version 8.2 and 8.3. Here are links to all we have tested and found.

Installing and activating the above PHP dll it will add some object caching to various PHP scripts but to get a true file and script object cache you will need to install a object cache server we used Ubuntu super easy, apt-get install redis then edit the redis.conf file.

Add this code to wp-config.php near top…..

// adjust Redis host and port if necessary
define( ‘WP_REDIS_HOST’, ‘****IP of REDIS server***’ );
define( ‘WP_REDIS_PORT’, 6379 );

// change the prefix and database for each site to avoid cache data collisions
define( ‘WP_REDIS_PREFIX’, ‘name-of-your-site’ );
define( ‘WP_REDIS_DATABASE’, 0 ); // 0-15

// reasonable connection and read+write timeouts
define( ‘WP_REDIS_TIMEOUT’, 1 );
define( ‘WP_REDIS_READ_TIMEOUT’, 1 );
define( ‘WP_REDIS_SCHEME’, ‘tcp’ );

Download and install REDIS OBJECT CACHE WordPress Plugin and then you can activate it, and watch your site speed up..