ios - how to use cache policy NSURLRequestReloadRevalidatingCacheData -


it mentioned in these links

ios - download file if modified (nsurl & nsdata)

http://nshipster.com/nsurlcache/

that nsurlrequestreloadrevalidatingcachedata not yet implemented in ios7.

is implemented in ios 8? or ios 9?

if yes, can tell me how use it?

if not, alternatives / best practices validating cache against server before using?

thanks!

nsurlrequestreloadrevalidatingcachedata (reloadrevalidatingcachedata in swift) still not implemented in ios9.

you can implement behaviour manually sending head network request , checking last modification date. here's how it: ios - download file if modified (nsurl & nsdata)


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -