11
I want to enforce caching in AFNetworking even when cache header is Cache-Control:·private there are no other cache-relevant headers, I understand it will be a time-based cache and I do not have a problem with that.
Please advise even if it's beyond AFNetworking scope.
I am making an iOS 5 iPad app and here are the header files from the XML files I'm trying to cache:
HTTP/1.1·200·OK(CR)(LF)
Cache-Control:·private(CR)(LF)
Content-Type:·text/xml;·charset=utf-8(CR)(LF)
Server:·Microsoft-IIS/7.5(CR)(LF)
X-AspNet-Version:·2.0.50727(CR)(LF)
X-Powered-By:·ASP.NET(CR)(LF)
Date:·Wed,·11·Jul·2012·18:42:27·GMT(CR)(LF)
Connection:·close(CR)(LF)
Content-Length:·20464(CR)(LF)
(CR)(LF)
Thanks in advance.