You are here

function authcache_builtin_cid in Authenticated User Page Caching (Authcache) 7.2

Return the authcache cache-id for the given path.

See also

authcache_key()

3 calls to authcache_builtin_cid()
authcache_builtin_authcache_backend_cache_save in modules/authcache_builtin/authcache_builtin.module
Implements hook_authcache_backend_cache_save().
authcache_builtin_authcache_debug_info in modules/authcache_builtin/authcache_builtin.module
Implements hook_authcache_debug_info().
hook_authcache_backend_cache_save in ./authcache.api.php
Save a page to the cache.

File

modules/authcache_builtin/authcache_builtin.module, line 65
Authcache storage backend for Drupal core cache system.

Code

function authcache_builtin_cid($request_uri = NULL) {
  if (!isset($request_uri)) {
    $request_uri = request_uri();
  }
  $key = authcache_key();
  return $key . $request_uri;
}