Redis Cache Driver

Redis Cache Driver
What is Redis?

Redis is a highly efficient distributed data storage. High operation speed is guaranteed by data storage in RAM, being regularly saved on a disk, after equal periods of time or when reaching a certain number of queries

How to setup redis cache

In the OpenCart admin backend, do the following steps:
Install via Extensions > Marketplace or via Extensions > Installer > Upload

Then you need to define a few constants in config.php and admin->config.php

// Redis
define('CACHE_HOSTNAME', '127.0.0.1');
define('CACHE_PORT', '6379');
define('CACHE_PREFIX', 'redis_');



Redis For Opencart 2.2 - 2.3

Edit system->config->default.php change the value of $_[‘cache_type’]

$_['cache_type'] = 'redis';


Redis For Opencart 2.0.x - 2.1.x

Edit index.php and admin->index.php change $cache = new Cache('file');

$cache = new Cache('redis');


Redis For Opencart 1.5.x

Upload archive to the root directory

Edit index.php and admin->index.php change $cache = new Cache('file');

$cache = new redis_cache();

After require_once(DIR_SYSTEM . 'library/cart.php'); add

require_once(DIR_SYSTEM . 'library/redis_cache.php');

or If you are using vqmod add

require_once(VQMod::modCheck(DIR_SYSTEM . 'library/redis_cache.php'));




Buy
Price
$20.00

  • Developed by OpenCart Community
  • 12 Months Free Support
  • Documentation Included

Rating

Compatibility
1.5.5.1, 1.5.6, 1.5.6.1, 1.5.6.2, 1.5.6.3, 1.5.6.4, 2.0.0.0, 2.0.1.0, 2.0.1.1, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0.2, 2.2.0.0, 2.3.0.0, 2.3.0.1, 2.3.0.2

Last Update
2 Jul 2019

Created
1 Jun 2019
0 Sales
0 Comments
Simple-OpenCart
Simple-OpenCart
Member since: 12 Jun 2014

View all extensions Get Support