It essentially makes all websites forget you ever visited them. It removes stored data chunks from your phone, which boosts performance. It also might solve some website issues.
However, next time you load a site, you’ll need to log in again and set your preferences. And clearing the cache on your iPhone means your device would need to load all the website’s assets again.