function akamai_purge_entity in Akamai 7.3
Purges an entity's path from Akamai's cache.
2 calls to akamai_purge_entity()
- akamai_node_delete in ./
akamai.module - Implements hook_node_delete().
- akamai_node_update in ./
akamai.module - Implements hook_node_update().
File
- ./
akamai.module, line 508 - Integration with Akamai CDN CCU API.
Code
function akamai_purge_entity($entity_type, $entity) {
$uri = entity_uri($entity_type, $entity);
return akamai_purge_path($uri['path'], $uri['options']);
}