Caffeine does something to the body when fasting but the real question is if it’s enough to negate the positive effects of IF. I would say the answer is no.
Here is some reading: this studies shows it impacts fasting glucose levels etc but I doubt this will put a dent in your efforts to ooose weight.