<p>You can configure the Redis cache driver to use an external host, see the <a href="https://craftcms.com/classreference/etc/cache/RedisCache" rel="nofollow noreferrer">config page</a> for the documentation and <a href="https://craftcms.stackexchange.com/questions/5269/redis-enviornment-specific-dbs">here</a> for details on copying the default Redis config file and configuring it.</p>

<p>Long story short... Copy <code>craft/app/etc/config/defaults/rediscache.php</code> to your <code>craft/config/</code> folder and configure the settings as you wish.</p>

CC BY-SA 3.0
2016-01-22T07:34:40.277Z
2016-01-22T07:34:40.277Z
2017-04-13T12:50:59.930Z
Rick
<p>Is there a way to configure Craft further beyond just settings like <code>'cacheMethod' =&gt; 'redis',</code>? I'm exploring the possibility of using Redis outside of the server Craft CMS is running on, and am curious if there is a way I can set this up while still using the built-in <code>craft()-&gt;cache</code> service.</p>

<p>I'd love to be able to utilize a remote cache option and configure it in the same way that cache has a <code>db.php</code>config file where you can set your database as local or remote.</p>

<p>Is there any information about doing this out there and/or plans to support this eventually? Just curious.. thank you!</p>

<plugin-development><config><cache><php><settings>
Craft Cache Config - Remote Support?
# Craft Cache Config - Remote Support?

(Asked by: username_0 on 2016-01-22)

Is there a way to configure Craft further beyond just settings like `'cacheMethod' => 'redis',`? I'm exploring the possibility of using Redis outside of the server Craft CMS is running on, and am curious if there is a way I can set this up while still using the built-in `craft()->cache` service.

I'd love to be able to utilize a remote cache option and configure it in the same way that cache has a `db.php`config file where you can set your database as local or remote.

Is there any information about doing this out there and/or plans to support this eventually? Just curious.. thank you!

**Tags:** plugin-development, config, cache, php, settings

---

## 1 answers

### Answer by username_1 on 2016-01-22. Score: 2 | Accepted answer

You can configure the Redis cache driver to use an external host, see the [config page](https://craftcms.com/classreference/etc/cache/RedisCache) for the documentation and [here](https://craftcms.stackexchange.com/questions/5269/redis-enviornment-specific-dbs) for details on copying the default Redis config file and configuring it.

Long story short... Copy `craft/app/etc/config/defaults/rediscache.php` to your `craft/config/` folder and configure the settings as you wish.


---

