No, clearing Safari's cache does not affect your photos, contacts, messages, or other apps' data. However, if you choose to clear the logins, passwords, or accounts saved on Safari, you may need to re-enter the information for the affected websites or apps.