How to configure sessions by Redis in Magento2 using the Unix Socket

The session can be configured in two ways. Configure caching by editing the file env.php Using the CLI tool Session socket is runnning in the following sock /var/run/redis-multi.redis/redis.sock Config the editig by env.php ‘session’ => [ ‘save’ => ‘redis’, ‘redis’ => [ ‘host’ => ‘/var/run/redis-multi.redis/redis.sock’, ‘port’ => ‘0’, ‘password’ => ”, ‘timeout’ => ‘2.5’, ‘persistent_identifier’ […]

Magento 2 Few important Tools

Magento 2 Data Migration – https://github.com/magento/data-migration-tool Magento2 Coding Standards – https://github.com/magento/magento-coding-standard Magento 2 Front-End debugging/Inspection tools – https://github.com/magento/m2-devtools Magento 2 PhpStorm Plugin – https://github.com/magento/magento2-phpstorm-plugin Magento 2 Martketplace tool  – https://github.com/magento/marketplace-tools Magento 2 Performance Toolkit – https://github.com/magento/magento2/tree/2.3/setup/performance-toolkit Reference : https://devdocs.magento.com/

Cache Mechanism in Magento

Cache plays main role in magento. Magento has two levels of cache. A Fast level A Slow level There are various type of  caching are available like FileSystem , APC, Memcache and Redis cache. FileSystem Cache and fullpage caches are maintained in  filesystem, for storage we can use SSD Hardisk can be used, which we […]

Magento Frontend Validation Classes

Magento handling the validation by extenal javascript( validation.js). we need to write the form field values has been assinged. Below are the validation rules(class names) and their error messages. ‘validate-no-html-tags’ => ‘HTML tags are not allowed’ ‘validate-select’ => ‘Please select an option.’ ‘required-entry’ => ‘This is a required field.’ ‘validate-number’ => ‘Please enter a valid […]

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top
Free Web Hosting