<p>Your <code>craft/config/memcache.php</code> config file has the same <a href="http://buildwithcraft.com/docs/multi-environment-configs" rel="nofollow">multi-environment config</a> support as any other of Craft's config files.</p>

<p>You can see all the default memcache config options Craft ships with in <code>craft/config/etc/config/defaults/memcache.php</code>.</p>

CC BY-SA 3.0
2014-09-19T14:58:20.910Z
2014-09-19T14:58:20.910Z
Brad Bell
<p>Is there any way to add memcache servers to use per environment? I mean, one server for dev, one for staging and one for production.</p>

<cache>
Configure Memcache per environment
# Configure Memcache per environment

(Asked by: username_0 on 2014-09-19)

Is there any way to add memcache servers to use per environment? I mean, one server for dev, one for staging and one for production.

**Tags:** cache

---

## 1 answers

### Answer by username_1 on 2014-09-19. Score: 2

Your `craft/config/memcache.php` config file has the same [multi-environment config](http://buildwithcraft.com/docs/multi-environment-configs) support as any other of Craft's config files.

You can see all the default memcache config options Craft ships with in `craft/config/etc/config/defaults/memcache.php`.


---

