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 - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -