You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,9 @@ The second result will be served from cache.
55
55
56
56
### Custom cache adapter
57
57
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:
59
61
60
62
```php
61
63
$cache = new React\Cache\ArrayCache();
@@ -64,6 +66,8 @@ $factory = new React\Dns\Resolver\Factory();
0 commit comments