Is there a way to disable caching on ipad/iphone? I want to run some automated tests for non-cache experience.
If you haven't already enable the Develop menu on Safari, with Safari open use the menu to go to Safari > Preferences…. One the preferences window select the Advanced tab. At the bottom there is a checkbox to enable the Develop menu. To disable caching in Safari toggle the menu item under Develop > Disable Caches.
In the Safari app , you can erase your browsing history and data to clear the cache on your iPhone. This removes the history of websites you visited and recent searches from your device.
If you want to free up storage space on your iPhone, clearing the cache is one way to do it. Some of this is done automatically by iOS, but you can also do it manually. The other reason to clear the iPhone cache is that cached files sometimes slow down the phone or cause things to behave in ways you don't want.
I just stumbled across a way to disable cache in Safari on iOS:
iOS
Desktop
If you want something more permanent, you'll either have to go the proxy route or make a UIWebView
/WKWebView
wrapper app that disables caching.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With