public purge_files ( string $identifier, array $files = null, array $tags = null ) | ||
$identifier | string | API item identifier tag |
$files | array | An array of URLs that should be removed from cache |
$tags | array | Any assets served with a Cache-Tag header that matches one of the provided values will be purged from the CloudFlare cache |
public function purge_files($identifier, array $files = null, array $tags = null)
{
$data = ['files' => $files, 'tags' => $tags];
return $this->delete('zones/' . $identifier . '/purge_cache', $data);
}