Rename cache bugfixes. Publish only if topic is configured.