HTTP Response Header
Name Value Delim
Status: HTTP/1.1 200 OK
Server: Apache
Content-Type: image/jpeg
Accept-Ranges: bytes
Last-Modified: Wed, 16 Oct 2013 12:06:35 GMT
Content-Length: 54556
Cache-Control: max-age=604800
Expires: Thu, 24 Oct 2013 09:32:54 GMT
Date: Thu, 17 Oct 2013 09:32:54 GMT
Connection: close当我运行应用程序一次,一切运行良好和是的图像缓存的应用程序生命时间,但当我关闭应用程序,并再次运行WIFI关闭。图像不出现。它在android上运行得很好,但在iOS应用程序中却不起作用。所有标题似乎都是有效的。
图像的有效期为7天。iOS应该将它缓存7天。
http://cdn.koimoi.com/wp-content/new-galleries/2013/10/Tanisha-Mukherjeen-in-Bigg-Boss-7-Pic-1.jpg
http://web-sniffer.net/
搜索优化的旧查询: iOs Phonegap应用程序忽略缓存头而不缓存图像
发布于 2013-11-12 07:32:58
我们还可以通过RNCachingURLProtocol库进行离线缓存。请看在线library...only的缺点是它没有清除缓存。需要核实一下..。
https://stackoverflow.com/questions/19446317
复制相似问题