Sometimes your browser will show you a cached (remembered) version of a Web site, no matter how many times you click the “Refresh” button.
This can be a problem if you are using an iPhone or iPad to inspect changes made to a Web site during development.
Yes, you can use “Responsive Design Mode” in your desktop browser’s developer tools, but that’s not as comprehensive as actually using the devices themselves.
In cases like this, here is how to clear the cached data on your iPhone or iPad so that you can see the changes take effect:
OPTION #1: (Warning: This deletes ALL data for ALL Websites)
1. Go to Settings -> Safari
2. Click “Clear History and Website Data”
OPTION #2: Selectively delete Website data:
1. Go to Settings -> Safari -> Advanced -> Website Data
2. Look for the URL of the site you are dealing with. Click “Show all sites” if the site is not in the list.
3. Find the site in question, swipe left, and tap “Delete”.
Leave a Reply