SDURLCache with AFNetworking and offline mode not working

前端 未结 3 1779
情深已故
情深已故 2020-12-23 13:13

I\'m using AFNetworking and SDURLCache for all my networking operations.

I have SDURLCache set like this:

SDUR         


        
3条回答
  •  清酒与你
    2020-12-23 13:45

    Can't tell much without your HTTP headers -- but the most common reason for this is NSURLProtocol forcing revalidation before delivering cached response to WebView.

    Please take a look here : http://robnapier.net/blog/offline-uiwebview-nsurlprotocol-588

提交回复
热议问题