Issue #2194273 by Berdir: Avoid repeated cache tag deletions.