Apple is fairly tight with information, but it seems to clear the caches within Safari. That would include preloaded webpages, maybe preloaded logins, etc. It does not clear DNS cache. That is a separate function for networking in general, not just Safari. As you revisit websites, the caches will refill.