Skip to content

Support RemoteSynchronizedCache #2

@ssx

Description

@ssx
return array (
  'cache' =>
  array (
    'frontend' =>
    array (
      'default' =>
      array (
        'backend' => '\\Magento\\Framework\\Cache\\Backend\\RemoteSynchronizedCache',
        'backend_options' =>
        array (
          'remote_backend' => '\\Magento\\Framework\\Cache\\Backend\\Redis',
          'remote_backend_options' =>
          array (
            'server' => 'localhost',
            'port' => '6370',
            'database' => 1,
            'persistent' => 0,
            'password' => '',
            'compress_data' => '1',
            'load_from_slave' =>
            array (
              'server' => 'localhost',
              'port' => '26370',
            ),
            'read_timeout' => 1,
            'retry_reads_on_master' => 1,
          ),
          'local_backend' => 'Cm_Cache_Backend_File',
          'local_backend_options' =>
          array (
            'cache_dir' => '/dev/shm/',
          ),
          'use_stale_cache' => true,
          '_useLua' => true,
          'use_lua' => false,
        ),
        'frontend_options' =>
        array (
          'write_control' => false,
        ),
      ),
    ),
    'type' =>
    array (
      'default' =>
      array (
        'frontend' => 'default',
      ),
    ),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions