You are here

function authcache_authcache_preclude in Authenticated User Page Caching (Authcache) 7.2

Implements hook_authcache_preclude().

Related topics

File

./authcache.module, line 1031
Authenticated User Page Caching (and anonymous users, too!)

Code

function authcache_authcache_preclude() {

  // Skip the cache on the next page request when messages are pending.
  if (drupal_set_message()) {
    return t('Pending messages');
  }
}