A cache partition has temporary, useless, and junk files saved from different applications on your device. Wiping off the cache partition will not clear every data present in your device. It will simply remove cached data on Android devices, which comprises temporary junk. Your other apps, device data, and settings will remain safe and sound.