2

During the course of developing email campaigns I use my own iPhone as one of many testing devices. The problem is, if I modify an image, I must modify the name of the file and the link to it in the code as well because my iOS device will incessantly reload the cached image from the previous test if I try use the same file name.

Is there any way to turn this caching off so that the images are downloaded each and every time? I can't even seem to find a way to purge the cache.

migrated from superuser.com Jan 29 '14 at 9:25

This question came from our site for computer enthusiasts and power users.

  • If you go to Settings App -> Mail, Contacts, Calendars and toggle off the Mail for that account, does that clear the cache? (My guess is you would have to fill the entire storage on the iOS device to get the system to alert all apps to purge downloaded content or simulate that event in Xcode / use a jailbreak to send the purge signal) and toggling the account would be faster for testing. – bmike Mar 2 '14 at 19:05
1

If you force quit Mail (double-tap the home button, swipe the app up) the embedded image cache seems to be cleared when you relaunch it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .