Кеширование Redis v1.1

25 sales
Кеширование Redis v1.1 - 1
Price: 500 ₽
From 2 purchase of this product, the price is: 450 ₽
From 5 purchase of this product, the price is: 375 ₽
From 10 purchase of this product, the price is: 325 ₽


Author: SirGrey Write to the author
Sales: 27 (Average rating 5 на основании 2 отзывов)
Need paid help? Contact the site administration
Opencart version:
LiveStore 3.*MaxyStore 3.*OCStore 3.*OpenCart 3.*OCStore 2.3OpenCart 2.3OpenCart 2.2OCStore 2.1OpenCart 2.1OpenCart 2.0OCStore 1.5.3.1OCStore 1.5.4.1OCStore 1.5.5.1OCStore 1.5.5.1.1OCStore 1.5.5.1.2OpenCart 1.5.3.1OpenCart 1.5.4.1OpenCart 1.5.5.1OpenCart 1.5.6OpenCart 1.5.6.1OpenCart 1.5.6.2OpenCart 1.5.6.3OpenCart 1.5.6.4

Драйвер кеширования 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')); 
Distribution method:
Paid
Opencart version:
LiveStore 3.*MaxyStore 3.*OCStore 3.*OpenCart 3.*OCStore 2.3OpenCart 2.3OpenCart 2.2OCStore 2.1OpenCart 2.1OpenCart 2.0OCStore 1.5.3.1OCStore 1.5.4.1OCStore 1.5.5.1OCStore 1.5.5.1.1OCStore 1.5.5.1.2OpenCart 1.5.3.1OpenCart 1.5.4.1OpenCart 1.5.5.1OpenCart 1.5.6OpenCart 1.5.6.1OpenCart 1.5.6.2OpenCart 1.5.6.3OpenCart 1.5.6.4
PHP verision:
PHP 5.6PHP 7.0PHP 7.1PHP 7.2PHP 7.3PHP 7.4PHP 8.0PHP 8.1PHP 8.2
Activation:
Not required
Getting files:
On site, in the personal account
Protection system:
No
VQmod:
No
Ocmod:
No
Events:
No
Uploaded:
08.03.2022
Updated:
13.05.2026
Viewed:
6259
Sales:
27

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:




Файлы будут доступны после покупки


Leave a comment text_write_hint