You are here

function hook_authcache_p13n_client_alter in Authenticated User Page Caching (Authcache) 7.2

Modify client methods declared by other modules.

See also

hook_authcache_p13n_client()

1 function implements hook_authcache_p13n_client_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

authcache_p13n_test_authcache_p13n_client_alter in modules/authcache_p13n/tests/authcache_p13n_test.module
Implements hook_authcache_p13n_client_alter().
1 invocation of hook_authcache_p13n_client_alter()
authcache_p13n_client_info in modules/authcache_p13n/authcache_p13n.module
Return information about fragment clients.

File

modules/authcache_p13n/authcache_p13n.api.php, line 218
Documentation for hooks provided by the authcache personalization module.

Code

function hook_authcache_p13n_client_alter(&$info) {
  global $base_root;

  // Never use ESI on localhost.
  if (stristr($base_root, 'localhost')) {
    $info['authcache_esi']['enabled'] = FALSE;
  }
}