Steps for clearing varnish cache in both web servers - AamAadmiParty/india-standalone-drupal GitHub Wiki

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.

⚠️ **GitHub.com Fallback** ⚠️