Skip to content

Commit

Permalink
Merge branch 'master' of github.com:magehost/magehost_synccache
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen Vermeulen - MageHost committed May 24, 2018
2 parents 6f1439f + 8ee66b7 commit 37c6b75
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
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 #

Expand All @@ -13,6 +14,12 @@ 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](https://github.com/colinmollenhour/Cm_Cache_Backend_Redis)
* 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
Expand All @@ -24,5 +31,5 @@ php bin/magento setup:di:compile
```

# Description #
**This extension is free, licence: [BSD-3-Clause](https://github.com/magehost/magehost_synccache/blob/master/LICENSE).**
# Licence #
**This extension is free, licence: [BSD-3-Clause](https://github.com/magehost/magehost_synccache/blob/master/LICENSE).**

0 comments on commit 37c6b75

Please sign in to comment.