How can I add HTTP request caching to an application using ASIHTTPRequests?
Posted
by smokey_the_bear
on Stack Overflow
See other posts from Stack Overflow
or by smokey_the_bear
Published on 2009-12-05T23:20:18Z
Indexed on
2010/05/16
17:50 UTC
Read the original article
Hit count: 317
asihttprequest
|iphone
I'm using ASIHttpRequests and an ASINetworkQueue in an iphone app to retrieve some 100k XML files and a lot of thumbnails from a web service. I'd like to cache the requests in the style of NSURLCache. ASI doesn't seem to support caching as is, and I looked at the code and it drops to C to create the requests, so inserting the NSURLCache layer seemed tricky.
What's the best way to implement this?
© Stack Overflow or respective owner