function _authcache_builtin_cacheinc_default_nocache_get in Authenticated User Page Caching (Authcache) 7.2
Check whether client is allowed to skip the cache for this request.
The default implementation allows cache bypass for all clients having a session cookie.
See also
_authcache_default_nocache_set()
1 string reference to '_authcache_builtin_cacheinc_default_nocache_get'
- authcache_builtin_cacheinc_retrieve_cache_page in modules/
authcache_builtin/ authcache_builtin.cache.inc - Send cached page to browser, if found.
File
- modules/
authcache_builtin/ authcache_builtin.cache.inc, line 32
Code
function _authcache_builtin_cacheinc_default_nocache_get() {
if (isset($_COOKIE['nocache']) && isset($_COOKIE[session_name()])) {
return TRUE;
}
}