Allow configuration-based cache clearing