Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Кеширование Redis

SirGrey ★★★★★ 1 review 63 завантажень 4,036 03/21/2023

Що можна обрати замість

1.2.0 Ioncube Loader: Ні
Withdrawn from sale The marketplace administration has withdrawn this file from sale
OpenCart3.0, 2.3, 2.2, 2.1, 2.0, 1.5.6.4, 1.5.6.3, 1.5.6.2, 1.5.6.1, 1.5.6, 1.5.5.1, 1.5.5, 1.5.4.1, 1.5.3.1
ocStore3.0, 2.3.0.2.4, 2.3, 2.2, 2.1, 1.5.5.1.2, 1.5.5.1.1, 1.5.5.1, 1.5.4.1.2, 1.5.4.1.1, 1.5.4.1, 1.5.3.1, 1.5.2.1, 1.5.1.3
License type На один домен + его поддомены
Activation method Без активации
Ioncube LoaderНі
Get request to server of developerНі
Downloads63
Submitted11/20/2019
Updated03/21/2023
File Size3.47 kB

User Feedback

Драйвер кеширования Redis для Opencart 1.5.x - 3.x

 

Redis — это высокопроизводительное распределенное хранилище данных.

Высокая скорость работы обеспечивается за счет хранения данных в оперативной памяти, которые периодически сохраняются на диск.

 

Для работы модуля необходим включенный Redis на сервере и библиотека  php-redis

 

Инструкция по установке

 

Opencart 2.x - 3.x  Стандартный установщик модулей.

Opencart 1.5.x Распаковать архив в корень сайта.

 

 

Добавить константы в файлы config.php и admin->config.php

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

 

Redis для Opencart 3.x

 

В OpenCart 3 драйвер Redis уже присутствует.

В модуле заменены устаревшие функции и добавлена авторизация.

 

Файл system->config->default.php

 

Изменить

 

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

 

На 

 

$_['cache_engine'] = 'redisp';

 

 

Redis для Opencart 2.2 - 2.3

 

Файл system->config->default.php

Изменить

$_['cache_type']

На 

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


Redis для Opencart 2.0.x - 2.1.x

 

Файл index.php и admin->index.php

 

изменить

$cache = new Cache('file');

 

На

 

$cache = new Cache('redis');


Redis для  Opencart 1.5.x

 

файл index.php и admin->index.php изменить

$cache = new Cache('file');

 

На

 

$cache = new redis_cache();

После 

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

Добавить

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

Если вы используете VQMod добавить

 

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

 

 

Характеристики

License type На один домен + его поддомены
Activation method Без активации
Ioncube LoaderНі
В продажеДа
OpenCart3.0, 2.3, 2.2, 2.1, 2.0, 1.5.6.4, 1.5.6.3, 1.5.6.2, 1.5.6.1, 1.5.6, 1.5.5.1, 1.5.5, 1.5.4.1, 1.5.3.1
ocStore3.0, 2.3.0.2.4, 2.3, 2.2, 2.1, 1.5.5.1.2, 1.5.5.1.1, 1.5.5.1, 1.5.4.1.2, 1.5.4.1.1, 1.5.4.1, 1.5.3.1, 1.5.2.1, 1.5.1.3
OpenCart.Pro, ocShopНе проверялось
Get request to server of developerНі
If the developer server is unavailableДополнение работает
СкидкаNo
Template compatibleвсе
AdaptationПлатная
Версія1.2.0
File Size3.47 kB
Submitted11/20/2019
Updated03/21/2023
  • +1 2
  • Recently Browsing   0 members

    • No registered users viewing this page.
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.