Acquia Cloud Simple Varnish Flush

Categories

Component ID

2576615

Component name

Acquia Cloud Simple Varnish Flush

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

783

Component created

Component changed

Component body

Provides a simple interface to automatically purge Acquia Cloud Varnish Caches when a node or a term is updated, using the Acquia Cloud API.

YOU SHOULD NOT BE USING THIS MODULE
Instead, use the Acquia Purge module available @ https://www.drupal.org/project/acquia_purge for all your varnish purging needs. Use this module only if you understand what you are doing.

Be warned that this module purges all caches, unlike the Acquia Purge module which intelligently clears only selected url caches.

NOTE: For some reason, currently, only the legacy credentials seem to work with Acquia Cloud API (most probably an issue with this module than the Cloud API itself). Get your LEGACY CREDENTIALS from https://insight.acquia.com/cloud/util?s=xxxxx (From Drush & API tab in your Acquia Cloud Subscription)

Installation Instructions

1) Download and Install the module
2) Open your Acquia Cloud Subscription. Navigate to Drush & API tab. Get your cloud api credentials there. Preferably LEGACY CREDENTIALS.
3) On your site, open admin/config/system/acquia-cloud-simple-flush and enter the API username and password obtained on earlier step and save the configuration.

Notable Features:

1) Auto detects cloud environment. Will affect only the current environment and current domain
2) Will fallback to doing nothing on local environments. So your local environment content changes don't trigger varnish purging.

TL;DR:
This is a simple leightweight module for sites with lesser traffic that need simple Varnish Flushing of full domain on editing any node or term. For all other purposes, or if you don't understand the implications mentioned above, use the more flexible and powerful Acquia Purge Module.