You are here

public function Fastly::purgePath in Fastly 7.2

Same name and namespace in other branches
  1. 7 fastly.api.inc \Fastly::purgePath()

Purge cache by path.

Deprecated

Use purgeQuery() instead.

File

./fastly.api.inc, line 144
Contains Faslt class that handles API calls to the Fastly service.

Class

Fastly
Fastly API for Drupal.

Code

public function purgePath($path) {
  $this->webhook
    ->sendMessage($path . t("path is purged"), "INFO", "purge_actions");
  $this
    ->purgeQuery($path);
}