Skip to content

Commit 5a3ef5e

Browse files
committed
1 parent 8ff807a commit 5a3ef5e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ The second result will be served from cache.
5555

5656
### Custom cache adapter
5757

58-
You can also specify a cache that [implements](https://github.com/reactphp/react/wiki/Users#cache-implementations) [`CacheInterface`](https://github.com/reactphp/cache) to handle the record cache instead of the default in memory cache.
58+
By default, the above will use an in memory cache.
59+
60+
You can also specify a custom cache implementing [`CacheInterface`](https://github.com/reactphp/cache) to handle the record cache instead:
5961

6062
```php
6163
$cache = new React\Cache\ArrayCache();
@@ -64,6 +66,8 @@ $factory = new React\Dns\Resolver\Factory();
6466
$dns = $factory->createCached('8.8.8.8', $loop, $cache);
6567
```
6668

69+
See also the wiki for possible [cache implementations](https://github.com/reactphp/react/wiki/Users#cache-implementations).
70+
6771
## Install
6872

6973
The recommended way to install this library is [through Composer](http://getcomposer.org).

0 commit comments

Comments
 (0)