Magento Cache Module

41
1

Codesicle's Redis Configuration Module helps you configure your Redis Cache Instance from within your Magento Admin Interface. No need to ssh for anything from now on.

Are you tired of managing your Redis cache from ssh? Using our Redis Configurations Extension you can now access all the necessary options from your admin interface.
Easier cache management even for the non technical admins.
You only need to use the console one time on install, then its all accessible from within the admin interface with a dedicated tab for cache management for your Redis Cache.
The Codesicle Redis Configuration Extension is intended to use Session, Cache Default and Page Chache.
Available options:
  1. Flush entire cache storage
  2. Flush partial cache
The extension is based on the default Magento Admin Interface and it doesn't affect the core files.
The Redis Configurations is accessible on admin area in Stores -> Configuration -> Codesicle -> Redis Configurations
Initially the extension is set with the default configuration.
Configurable options:
  1. Redis Session
  2. Redis Cache Default
  3. Redis Page Cache
 
After installation:
The CLI Command for generate the default Redis Configuration is:
bash
$ bin/magento codesicle:redis:generate
 
The default Redis Session Configuration generated is as follows:
php
  'session' => [
    'save' => 'redis',
    'redis' => [
      'host' => '127.0.0.1',
        'port' => '6379',
        'password' => '',
        'timeout' => '2.5',
        'persistent_identifier' => '',
        'database' => '2',
        'compression_threshold' => '2048',
        'compression_library' => 'gzip',
       'log_level' => '3',
       'max_concurrency' => '6',
       'break_after_frontend' => '5',
       'break_after_adminhtml' => '30',
       'first_lifetime' => '600',
       'bot_first_lifetime' => '60',
       'bot_lifetime' => '7200',
       'disable_locking' => '0',
       'min_lifetime' => '60',
      'max_lifetime' => '2592000'
     ]
  ]
 
The Redis Caches configuration is as follows:
php
  'cache' => [
    'frontend' => [
      'default' => [
        'backend' => 'Cm_Cache_Backend_Redis',
          'backend_options' => [
              'server' => '127.0.0.1',
              'port' => '6379',
              'database' => '0',
              'password' => ''
          ]
      ],
      'page_cache' => [
      'backend' => 'Cm_Cache_Backend_Redis',
      'backend_options' => [
        'server' => '127.0.0.1',
        'port' => '6379',
        'database' => '0',
        'password' => '',
        'compress_data' => '0'
      ]
  ]
 ]
]
 
If you need to clear cache after the generated configuration, you must run the command:
bash
$ redis-cli flushall
 
If you need to open the Redis Monitor, please run the command:
bash
$ redis-cli monitor
0
seco