You are here

function authcache_backend in Authenticated User Page Caching (Authcache) 7.2

Return the active cache backend module.

Related topics

4 calls to authcache_backend()
authcache_authcache_request_exclude in ./authcache.module
Implements hook_authcache_request_exclude().
authcache_backend_cache_save in ./authcache.cache.inc
Collect document and headers and pass them to cache backends.
authcache_backend_init in ./authcache.cache.inc
Initialize the cache backend module.
authcache_debug_authcache_debug_info in modules/authcache_debug/authcache_debug.module
Implements hook_authcache_debug_info().

File

./authcache.cache.inc, line 188
Defines authcache aware copy of drupal_serve_page_from_cache().

Code

function authcache_backend($set_cache_backend = NULL) {
  $cache_backend =& drupal_static(__FUNCTION__);
  if (isset($set_cache_backend)) {
    $cache_backend = $set_cache_backend;
  }
  return $cache_backend;
}