Steps for clearing varnish cache in both web servers - AamAadmiParty/india-standalone-drupal GitHub Wiki
-
User having role of admin or any approver, Go to link www.aamaadmiparty.org/devel/php.
shell_exec("sh {$_SERVER['DOCUMENT_ROOT']}/scripts/varnish_cache_clear.sh");
in php text area and click on execute button.
shell_exec("sh {$_SERVER['DOCUMENT_ROOT']}/scripts/varnish_cache_clear.sh [path of page]");
in php text area and click on execute button.
* For example if you want to clear the cache of page news then write
shell_exec("sh {$_SERVER['DOCUMENT_ROOT']}/scripts/varnish_cache_clear.sh news");
Note: Please do not include leading slash.