Is there a way to clear NSURLConnection cache?
I used that to download some strings but I keep getting the same strings even though I changed that from my server.
You can clear the cache explicitly using:
obj-c
[[NSURLCache sharedURLCache] removeAllCachedResponses];
swift
URLCache.shared.removeAllCachedResponses()