if ( $batcache ) {
/**
* exclude URL from cache.
*/
$exclude_cache = array('/some-page/','/other-page/');
if(in_array($_SERVER['REQUEST_URI'], $exclude_cache )){
$batcache->max_age = 0;
}
}
}if ( $batcache ) {
/**
* exclude URL from cache.
*/
if( isset( $_GET['FOO'] ) && ( "BAR" == $_GET['FOO'] )){
$batcache->max_age = 0;
}
}
}