function akamai_expire_cache in Akamai 7.2
Same name and namespace in other branches
- 7.3 akamai.module \akamai_expire_cache()
Implements hook_expire_cache().
File
- ./
akamai.module, line 93 - Integration with the Akamai CDN Cache Control Web Service.
Code
function akamai_expire_cache($urls, $wildcards, $object_type, $object) {
foreach ($urls as $short_url => $full_url) {
$url = base_path() . $short_url;
akamai_clear_url($url, array(), $object);
}
}