Clearing your cache removes stored data that helps websites and apps open faster, while offloading temporarily uninstalls an app without deleting any of the documents and data associated with that app.  Both methods can help speed up iPhones that are slowed down by low storage.