final String oldLayerName = oldInfo.getName();
final String layerName = newInfo.getName();
final boolean isRename = !equal(oldLayerName, layerName);
if (isRename) {
mediator.layerRenamed(oldLayerName, layerName);
}
// FIXME: There should be a way to ask GWC to "truncate redundant caches" rather than doing
// all this detective work.
// First, remove the entire layer cache for any removed gridset