Hi all,
I've been baffled by a problem for the past week. In iOS Chrome, if I load a page, then "Clear Cache" from settings, then go back to that page to submit another request, it appears the cache is successfully wiped (and the 200 call is successfully made to the server, refetching page assets). My question is, how is that done without destroying the view?
I've had no success with any of the "standard" ways of clearing cache, including:
[[NSURLCache sharedURLCache] removeCachedResponseForRequest:NSURLRequest];
[[NSURLCache sharedURLCache] removeAllCachedResponses];
Is there anyone that can just give me a hint on how the Chrome iOS guys accomplished "Clear Cache" so that the subsequent request calls back to the server? All caching/non-caching techniques seemed to have change in iOS6.
I'd be forever in your debt.
-Brad