First of all, your iOS device don’t have to be jailbroken to do this. Second, this trick also works on jailbroken iPhone or iPad. So all users should happy with that.
You won’t lose any data, apps or other valuable info stored in your device. This method just simply removes unnecessary temporary files, which usually steals some space through the use of time.