rs / SDURLCache

URLCache subclass with on-disk cache support on iPhone/iPad
MIT License
798 stars 247 forks source link

storeCachedResponse:forRequest: not called all the time #22

Open aherlambang opened 12 years ago

aherlambang commented 12 years ago

This might be just my lack of understanding of how this method works, but is this always to be called all the time when I load a web page with resources in it or is there a constraint that made this not getting called.

mikeger commented 12 years ago

I have same issue, I think it is iOS5-specific problem because we can reproduce it only on iOS5.

This method just does not called by connection :(

MPiccinato commented 12 years ago

Anyone have an update for this? Trying to get this to work with Nimbus's NINetworkImageView.

mikeger commented 12 years ago

What we figured out is only fix available is to implement custom NSProtocol over CF http implementation. Tough task.

punayKimberly commented 12 years ago

does anyone have worked this around already? I had the same issue encountered, too.