Adds a button to the publish ribbon so users (with access) can clear the remote server caches.
A custom remote event is used to broadcast the button click. An event handler is used to respond to the remote event and clear server cache.
Special thanks to Kasaku on sitecore.stackexchange for outlining the approach.
Either:
- Install Sitecore package. See Releases.
For scaled setup, also copy files (config and dlls from package) to CD servers.
Or:
- Include this project in your Helix style solution
- Update NuGet references to match target sitecore version
- Sync unicorn data or install sitecore package
Expects Unicorn 4+ in your solution. If not using Unicorn, disable Foundation.RemoteCacheKick.Serialization.config