Clearing your cache only gets rid of the data your device has stored from the websites and apps you visit—it has no impact on your photos or the files you have saved there.