You are here

function hook_authcache_request_exclude in Authenticated User Page Caching (Authcache) 7.2

Exclude a page from being cached based on the request.

Return value

string A transalted string specifying the reason of exclusion or null.

5 functions implement hook_authcache_request_exclude()

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

authcache_authcache_request_exclude in ./authcache.module
Implements hook_authcache_request_exclude().
authcache_debug_authcache_request_exclude in modules/authcache_debug/authcache_debug.module
Implements hook_authcache_request_exclude().
authcache_p13n_authcache_request_exclude in modules/authcache_p13n/authcache_p13n.module
Implements hook_authcache_request_exclude().
authcache_test_authcache_request_exclude in tests/authcache_test.module
Implements hook_authcache_request_exclude().
authcache_varnish_authcache_request_exclude in modules/authcache_varnish/authcache_varnish.module
Implements hook_authcache_request_exclude().
1 invocation of hook_authcache_request_exclude()
authcache_init in ./authcache.module
Implements hook_init().

File

./authcache.api.php, line 13
Authcache API documentation.

Code

function hook_authcache_request_exclude() {
  if (authcache_ajax_is_authcache_ajax_request()) {
    return t('Authcache Ajax request');
  }
}