function _authcache_preclude in Authenticated User Page Caching (Authcache) 7.2
Prevent next page request from beeing served from cache.
Private function called from authcache_exit. Authcache should not return a cached result on next page request from the same client.
Related topics
2 calls to _authcache_preclude()
- authcache_exit in ./
authcache.module - Implements hook_exit().
- authcache_precluded in ./
authcache.module - Whether next page request will not be served from cache.
File
- ./
authcache.module, line 547 - Authenticated User Page Caching (and anonymous users, too!)
Code
function _authcache_preclude($reason = NULL) {
$precluded =& drupal_static(__FUNCTION__, FALSE);
if (!$precluded && !empty($reason)) {
$precluded = TRUE;
module_invoke_all('authcache_precluded', $reason);
}
return $precluded;
}