Posted almost 10 years ago. Visible to the public.

Config Two-Level Memcached & DB Definition

Copy
<config> <global> <cache> <backend>memcached</backend> <slow_backend>database</slow_backend> <id_prefix>cache_</id_prefix> <memcached> <servers> <server1> <host><![CDATA[localhost]]></host> <port><![CDATA[11211]]></port> <persistent><![CDATA[0]]></persistent> <weight><![CDATA[1]]></weight> <timeout><![CDATA[60]]></timeout> <retry_interval><![CDATA[10]]></retry_interval> </server1> </servers> <compression><![CDATA[0]]></compression> <cache_dir><![CDATA[]]></cache_dir> <hashed_directory_level><![CDATA[]]></hashed_directory_level> <hashed_directory_umask><![CDATA[]]></hashed_directory_umask> <file_name_prefix><![CDATA[]]></file_name_prefix> </memcached> </cache> <full_page_cache> <backend>memcached</backend> <slow_backend>database</slow_backend> <id_prefix>fullpagecache_</id_prefix> <memcached> <servers> <server1> <host><![CDATA[localhost]]></host> <port><![CDATA[11211]]></port> <persistent><![CDATA[0]]></persistent> <weight><![CDATA[1]]></weight> <timeout><![CDATA[60]]></timeout> <retry_interval><![CDATA[10]]></retry_interval> </server1> </servers> <compression><![CDATA[0]]></compression> <cache_dir><![CDATA[]]></cache_dir> <hashed_directory_level><![CDATA[]]></hashed_directory_level> <hashed_directory_umask><![CDATA[]]></hashed_directory_umask> <file_name_prefix><![CDATA[]]></file_name_prefix> </memcached> </full_page_cache> </global> </config>

Owner of this card:

Avatar
Mike Whitby
Last edit:
about 8 years ago
Posted by Mike Whitby to Magento
This website uses short-lived cookies to improve usability.
Accept or learn more