More refined cache clearing