×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: XML
Posted by: Roman Ignatov
Added: Nov 22, 2016 4:48 PM
Views: 5
Tags: magento
  1. <cache>
  2.   <backend>Cm_Cache_Backend_Redis</backend>
  3.   <backend_options>
  4.     <server>127.0.0.1</server> <!-- or absolute path to unix socket -->
  5.     <port>6379</port>
  6.     <persistent></persistent>
  7.     <database>0</database>
  8.     <password></password>
  9.     <force_standalone>0</force_standalone>
  10.     <connect_retries>1</connect_retries>
  11.     <automatic_cleaning_factor>0</automatic_cleaning_factor>
  12.     <compress_data>1</compress_data>
  13.     <compress_tags>1</compress_tags>
  14.     <compress_threshold>20480</compress_threshold>
  15.     <compression_lib>gzip</compression_lib> <!-- Supports gzip, lzf and snappy -->
  16.   </backend_options>
  17. </cache>