Config Two-Level Memcached & DB Definition

Updated . Posted . Visible to the public.
<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>

Mike Whitby
Last edit
Posted by Mike Whitby to Magento (2012-04-23 16:15)