Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Redis Socket Support

$
0
0

Replies: 0

Hello,

Thanks for this great app. When using Redis Object Cache I can use a redis server socket for more speed compared to the IP layer.

Now this is the code block:

define('WP_CACHE_KEY_SALT', 'xxxxxxx.nl');
define( 'WP_REDIS_SCHEME', 'unix' );
define( 'WP_REDIS_PATH', '/var/run/redis/redis.sock' );
define( 'WP_REDIS_PASSWORD', 'xxxxxxxxxxxxx' );

I cant just paste the socket path in the webgui Redis hostname:port section, it will not work.

Can i just change these lines to work:?
https://github.com/W3EDGE/w3-total-cache/wiki/FAQ:-Installation:-Redis-Server

Like this:
define( ‘W3TC_CONFIG_CACHE_REDIS_SCHEME’, ‘unix’ );
define( ‘W3TC_CONFIG_CACHE_REDIS_PATH’, ‘/var/run/redis/redis.sock’ );

  • This topic was modified 19 minutes ago by ezra50.

Viewing all articles
Browse latest Browse all 59525

Trending Articles