afnetworking - Is NSURLCache cleared on iOS app reinstall? -
tl;dr:does know if requests made app via afnetworking
/nsurlconnection
stored , persisted in nsurlcache
between re-installs of app?
background: troubleshooting bizarre bug affecting users of shipping app, persists across app-reinstalls , potentially explained bad cached copy of previous response.
the app uses afnetworking, sits on top of nsurlconnection
, , therefore uses nsurlcache
.
there no explicit nsurlcache
configuration within app.
hence i'm keen know whether responses can remain in nsurlcache past lifetime of app installation made request.
depends on how app gets reinstalled, typically. in theory, if delete app completely, no, shouldn't possible app data persist, including url cache, sole exception being keychain items. said, difference between theory , practice....
with said, if want certain, can create new shared cache stores on-disk files in different location default. should fix problem if caused stale cache data.
Comments
Post a Comment