Hello,
What cache plugin do you use? It looks that wp_is_mobile function does not work with your cache plugin and plugin caches the mobile version for the desktop. Could you, please, contact cache plugin support and ask how to avoid caching of the mobile version for the desktop device and separate mobile and desktop cache?
Regards