Official Redis Cache

Official Redis Cache

Would adding the below code to a none XF website work? If not, what would I add to it?
This How To is for enabling the official XenForo Redis Cache. It is already all build-in you just have to activate it with the configuration details.

Redis is a database and has keys. if XenForo prefixes its keys xf_ and your other webpage does not, then its all good. If you have several webpages and they all use the same keys (like xf_user), then every webpage overwrites the key of the other and obviously this will not work.
 
this was on my pending list so im giving it a try.....first shot = fail ;P

ive added the code to config.php, made sure redis was installed by phpinfo....xons addon was already installed so i turned it on...

thats all i did basically then clicked the redis info link in xf admin panel and it says "Redis is disabled"...

???
 
oh yes of course....already solved it.....xon has diff configs so that needs to be considered for config.php if using his addon...

regards
 
Back
Top Bottom