IP exclusion in Comet Cache

With Comet Cache it is possible to perform user agent exclusions, as well as URI and referrer exclusions.

Is there any way I could set cache exclusion based on IP-address of the visitor? Meaning that certain IP-addresses will never be served cached content.

This isn’t possible from the UI at this time, no. However, you could add something like this to your wp-config.php file:

$comet_cache_ip_exclusions = array('1.1.1.1', '2.2.2.2');
if (in_array($_SERVER['REMOTE_ADDR'], $comet_cache_ip_exclusions)) {
     define('COMET_CACHE_ALLOWED', false);
}

Works perfectly. Thank you very much!