Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.4
-
Fix Version/s: Unscheduled
-
Component/s: Core CiviCRM
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
I have created Redis caching support, We have this working on websites that are static, but not sites that 'move around', i.e. pantheon hosting on live. Kevin and Mark are helping look into this, but thought I'd get the code to you in the interim…
This goes into - /CRM/Utils/
Then to use, inside civicrm.settings.php
define( 'CIVICRM_DB_CACHE_CLASS', 'Redis' );
define( 'CIVICRM_DB_CACHE_HOST', 'servername' );
define( 'CIVICRM_DB_CACHE_PORT', port );
If a password is needed, add -
define( 'CIVICRM_DB_CACHE_PASSWORD', password );