Skip to content

Commit 48a265f

Browse files
Update README.md
1 parent cecd07a commit 48a265f

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,30 @@ Works with any Zend Framework project including all versions of Magento!
1616
- Supports a configurable "auto expiry lifetime" which, if set, will be used as the TTL when the key otherwise wouldn't expire. In combination with "auto expiry refresh on load" offers a more sane cache management strategy for Magento's `Enterprise_PageCache` module.
1717
- __Unit tested!__
1818

19-
## INSTALLATION (Magento)
19+
## REQUIREMENTS
2020

21-
1. Install [redis](http://redis.io/download) (2.4+ required)
22-
2. Install [phpredis](https://github.com/nicolasff/phpredis) (optional)
21+
As this backend uses [Credis](https://github.com/colinmollenhour/credis) there are no additional requirements, but for improved performance you can install [phpredis](https://github.com/nicolasff/phpredis) which is a compiled extension.
2322

2423
* For 2.4 support you must use the "master" branch or a tagged version newer than Aug 19, 2011.
2524
* phpredis is optional, but it is much faster than standalone mode
2625
* phpredis does not support setting read timeouts at the moment (see pull request #260). If you receive read errors (“read error on connection”), this
2726
might be the reason.
2827

29-
3. Install this module using [modman](https://github.com/colinmollenhour/modman):
28+
## INSTALLATION (Composer)
29+
30+
```
31+
$ composer require colinmollenhour/cache-backend-redis
32+
```
33+
34+
## INSTALLATION (Magento)
35+
36+
You may use the Composer installation (above) or you can install via [modman](https://github.com/colinmollenhour/modman):
3037

3138
* `modman clone https://github.com/colinmollenhour/Cm_Cache_Backend_Redis`
3239

33-
4. Edit app/etc/local.xml to configure:
40+
### Magento Configuration:
41+
42+
Edit app/etc/local.xml to configure:
3443

3544
<!-- This is a child node of config/global -->
3645
<cache>

0 commit comments

Comments
 (0)