You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to flag a request or url so that the caching layer forces a connection to the internet and refreshes the cached file? I thought I could create a category off of NSURL or NSURLRequest that would add a "forceRefresh" property that I could read in you startLoading method, but it appears that something inside the system is stripping off my custom property.....I suspect it is doing a manual copy of those objects.
The text was updated successfully, but these errors were encountered:
So I think I can create a category or inherit off of NSURL and include a nocache and refreshcache property, then in :canInitWithRequest have it check those properties, if nocache, return no, if refreshcache, get the cachepath for the url, delete any cached file located there.
Is there any way to flag a request or url so that the caching layer forces a connection to the internet and refreshes the cached file? I thought I could create a category off of NSURL or NSURLRequest that would add a "forceRefresh" property that I could read in you startLoading method, but it appears that something inside the system is stripping off my custom property.....I suspect it is doing a manual copy of those objects.
The text was updated successfully, but these errors were encountered: