• Resolved Eyal Gantz

    (@egantz)


    Hey, should I commit the generated object-cache.php file to git so it’ll be identical in all servers behind a load balancer? Or should I let it be generated automatically on each node.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Depends on your deployment setup.

    I usually use Composers compile script to run wp redis enable, so the latest dropin is on all my machines.

    Plugin Author Till Krüss

    (@tillkruess)

    If you don’t want to use WP CLI, you could also copy the object-cache.php from /redis-cache/includes.

    Thread Starter Eyal Gantz

    (@egantz)

    Sweet! Thanks a lot!
    Just discovered the WP CLI, what a treat.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using plugin with Git’ is closed to new replies.