Skip to content

PascalBrouwers/magehost_synccache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MageHost CacheSync Extension for Magento 2

Sync cache cleaning among multiple nodes in a cluster setup. Every node has its own cache storage, so we need to sync cache flushes.

Install via Composer

composer config repositories.magehost_synccache vcs [email protected]:magehost/magehost_synccache.git
composer config repositories.magehost_cm_cache_backend-m2 vcs [email protected]:magehost/magehost_cm_cache_backend-m2.git
composer require magehost/synccache
php bin/magento module:enable MageHost_SyncCache
php bin/magento setup:upgrade
php bin/magento setup:di:compile

Usage

  • You need to configure MageHost_Cm_Cache_Backend_Redis or MageHost_Cm_Cache_Backend_File as cache backend in app/etc/env.php. These are extended from Collin Mollenhour's cache classes
  • After installation go System > Integrations in the Admin to create an integration with the API System > MageHost CacheSync enabled.
  • Go to Stores > Configuration > ADVANCED > System > MageHost CacheSync to select the integration and enter the nodes.

Uninstall

php bin/magento module:disable MageHost_SyncCache
composer remove magehost/synccache
composer config --unset repositories.magehost_synccache
composer config --unset repositories.magehost_cm_cache_backend-m2
php bin/magento setup:upgrade
php bin/magento setup:di:compile

Licence

This extension is free, licence: BSD-3-Clause.

About

MageHost SyncCache extension for Magento 2.x

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%