Here's how to clear information from your mobile device:
To clear your history and cookies, go to Settings > Safari, and tap Clear History and Website Data. Clearing your history, cookies, and browsing data from Safari won't change your AutoFill information.
To clear your cookies and keep your history, go to Settings > Safari > Advanced > Website Data, then tap Remove All Website Data.
Here's how to clear Safari on your Mac:
In the Safari app on your Mac, choose History > Clear History, then click the pop-up menu > Clear all history.
In the Safari app on your Mac, choose Safari > Preferences, click Privacy, then click Manage Website Data and click Remove All.
https://support.apple.com/en-us/HT201265