• Resolved ezra50

    (@ezra50)


    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 7 years, 4 months ago by ezra50.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Redis Socket Support’ is closed to new replies.