I’m using ASIHttpRequest for my iphone applications. How do i turn off cache, so nothing get cache?
I found something that looked good, but I have no idea if its right or not.
[request setCachePolicy: ASIDoNotWriteToCacheCachePolicy | ASIDoNotReadFromCacheCachePolicy];
Yes, that’s fine.
(see docs here : http://allseeing-i.com/ASIHTTPRequest/How-to-use#about_cache_policies, in the section ‘About cache policies’)