My apologies veenuisthebest, I missed that.
I know when updating templates vB Optimise kills current cache, my guess is your XCache requires authentification? It should silently carry on. That said, if you could enable php errors on your server we'd be able to specifically see what the problem is.
I'll re-enable admin auth on my XCache server and see if I can replicate the issue