I use mobile Safari cache to store some data that I want to be persistent, so I would prefer that they would survive both Safari restarts and iOS restarts.
(Please don't suggest me to use cookies or Local Storage here - that's not what I am asking about.)
However I have read some new and some old reports that Safari clears its cache on Safari restart. But my non-scientific tests on Safari 8.3 showed me that sometimes this cache can in fact not only survive application restart but even the iOS reboot (!).
So I am a bit confused at this point.
Are the rules of iOS Safari cache clearing documented somewhere?
Does any of you know them and can explain them to me (and the world ;)?
No. Safari Preferences, General, has the ability to select a few options in "Clear History," including daily and longer periods.
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.
With Average use, it is advised that you clear your cache every month or two to optimize performance. If your web surfing is more intense or you visit heavy websites, you should clear Safari Cache more frequently than that to have the best experience.
Answer: A: Short of Eric's recommendation to use private browsing, Safari does not offer an automatic means to remove all cookies when it is quit.
Hope someone find that I'm wrong but..
I searched a lot and I guess there are no resources about how the automatic cleaning policy works in Safari. And knowing Apple policy I guess that it's simply because this information is not necessary both for users and developers.
If you want to ask to Safari to protect your cache, you can use the Manifest File as described there: https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/Client-SideStorage/Client-SideStorage.html#//apple_ref/doc/uid/TP40002051-CH4-SW1
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