how to add a url cache to ASIHttpRequest
        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/03/12
            4:37 UTC
        
        
        Read the original article
        Hit count: 785
        
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