You could create a custom 'Clear Cache' action something like this in the Handler field, and in the processor simply clear the cache for only the contexts you require:
/* define a custom topic for your cache handler */
var topic = '/customcache/';
var register = 'mgr';
if (this.console == null || this.console == undefined) {
this.console = MODx.load({
xtype: 'modx-console'
,register: register
,topic: topic
,show_filename: 0
});
} else {
this.console.setRegister(register, topic);
}
MODx.Ajax.request({
/* define the path to your ajax connector */
url: '/path/to/your/connector.php'
,params: {
/* insert name of your action here */
action: 'your/clearcache/action'
,register: register
,topic: topic
}
,listeners: {
'success':{fn:function() {
console.fireEvent('complete');
},scope:this}
}
});
this.console.show(Ext.getBody());
return false;
This is not copy and paste code, it's just to give you some idea of what to do. You might have to dig into the core code and have an idea how to create a custom action and CMP before doing this though, don't think there's any way to do it 'out of the box'.