Title: Using plugin with Git
Last modified: March 22, 2017

---

# Using plugin with Git

 *  Resolved [Eyal Gantz](https://wordpress.org/support/users/egantz/)
 * (@egantz)
 * [9 years ago](https://wordpress.org/support/topic/using-plugin-with-git/)
 * 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](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [9 years ago](https://wordpress.org/support/topic/using-plugin-with-git/#post-8945968)
 * 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](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [9 years ago](https://wordpress.org/support/topic/using-plugin-with-git/#post-8945969)
 * 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](https://wordpress.org/support/users/egantz/)
 * (@egantz)
 * [9 years ago](https://wordpress.org/support/topic/using-plugin-with-git/#post-8947374)
 * 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.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [ELB](https://wordpress.org/support/topic-tag/elb/)
 * [git](https://wordpress.org/support/topic-tag/git/)
 * [redis](https://wordpress.org/support/topic-tag/redis/)

 * 3 replies
 * 2 participants
 * Last reply from: [Eyal Gantz](https://wordpress.org/support/users/egantz/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/using-plugin-with-git/#post-8947374)
 * Status: resolved