cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone get lzf compression working with Redis and Magento 1.9.X?

Anyone get lzf compression working with Redis and Magento 1.9.X?

I've been using  Magento 1.9.X with Redis and have gotten:

snappy

gzip

lz4

 

working, however I have not gotten lzf working. In the local.xml file, I've typed "lzf" for the compression level but it doesn't seem to be working after restarting redis. Has anyone gotten this working?

1 REPLY 1

Re: Anyone get lzf compression working with Redis and Magento 1.9.X?

Hi,

 

Credis (bundled in Cm_Cache_Backend_Redis) will only enable lzf if you have the lzf_compress function available, what does:

 

 

<?php echo function_exists('lzf_compress') ? 'yay' : 'nay'; ?>

 

report if you pop it into a .php file? If it's 'nay' you'll need to grab it from PECL first,

 

Regards,

 

Aaron

Problem solved? Click Accept as Solution!
www.iweb.co.uk | Magento Small Business Partner