protected static function ExpireAPI::executeInternalExpiration in Cache Expiration 7.2
Execute internal urls expiration. Calls cache_clear_all().
Parameters
$urls: List of absolute urls that should be flushed.
$wildcards: List of paths and its wildcard flushes.
1 call to ExpireAPI::executeInternalExpiration()
- ExpireAPI::executeExpiration in includes/
expire.api.inc - Executes internal or external cache expiration.
File
- includes/
expire.api.inc, line 138 - Provides internal API for page cache flushes.
Class
- ExpireAPI
- @file Provides internal API for page cache flushes.
Code
protected static function executeInternalExpiration($urls, $wildcards) {
foreach ($urls as $internal_path => $absolute_url) {
// Check if wildcard is enabled for this URL.
$wildcard = !empty($wildcards[$internal_path]);
// Clear cached page data.
cache_clear_all($absolute_url, 'cache_page', $wildcard);
}
}