rs / SDURLCache

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

How to use Application Caches? #36

Open iwanglian opened 12 years ago

iwanglian commented 12 years ago

When I load a page with a manifest file in UIWebview , the UIWebView would create a file with a path "Library/Caches/com.apple.WebAppCache/ApplicationCache.db " ,where the offline cache stored.

Is there a interface to use the Application Cache?

rs commented 12 years ago

Which version of iOS ?

iwanglian commented 12 years ago

ios4.3.3

iwanglian commented 12 years ago

I search a lot keyword about this , but no answer. They only use the UIWebView to load the html request , could not control the caching process.

And sdurlcache storeToDisk would store to sdurlcache folder , not to the .db file . And when UIWebView load the html with manifest, it would fetch the resource from the .db file ,but not sdurlcache folder.

It is same with other ios version .