cleanup cached entries when config is saved