Created
August 26, 2011 00:17
-
-
Save colinmollenhour/1172386 to your computer and use it in GitHub Desktop.
Redis cache config example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- this is a child node of config/global --> | |
<cache> | |
<backend>Zend_Cache_Backend_Redis</backend> | |
<backend_options> | |
<server>127.0.0.1</server> | |
<port>6379</port> | |
<database>2</database> | |
<use_redisent>0</use_redisent> <!-- 0 for phpredis, 1 for redisent --> | |
<automatic_cleaning_factor>20000</automatic_cleaning_factor> <!-- optional, 20000 is the default, 0 disables auto clean --> | |
</backend_options> | |
</cache> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment