The app and user cache data are stored in ~/Library/Caches folder however the system data is stored in /Library/Caches folder. If you don’t know how to delete the cache on a Mac, the below steps will make things clear. So, deleting the cache file is absolutely harmless for your Mac. When you will browse the same site, it will again recreate the cache if needed.
Cache files accumulate your personal information that you would never want to be shared by the site owners. Cache files are junk files and it makes no sense to keep junk or temporary internet files on a healthy system. Many of us believe that deleting cache or temporary files may malfunction the system however it’s not true. There are different types of cache files, for example, user cache, system cache, app and DNS cache, and browser cache that accumulates in temporary internet folders as and when you browse the web. Cache files are webpage scripts, temporary internet files, images, and other web data that are left on your Mac after you browse a website or install and use an app for the first time on your Mac.