If you want to delete only cache data, you'll need to go to Develop in the upper menu bar and hit Empty Caches.
In Safari, you can go to History > Clear History to clean your visit history, cookies as well as caches.
Safari is the first choice for many Mac users.