Their problem was developing piece of shit apps that happened to use HTML5. - The top comment on HackerNews https://news.ycombinator.com/item?id=4507879
, CACHE ] ; ! LOOP THROUGH URLS { ! ASYNCHRONOUS REQUEST FOR ( URL ) ; ! } PSEUDOCODE ANY OF THESE URLS WILL NOW BE STORED TO DISK CACHE ! INSTANT RETRIEVAL WHEN REQUESTED
system for network caching functionality, all because they weren't aware that NSURLCache could be setup in two lines and do it 100× better. http://nshipster.com/nsurlcache/
should find the default shared cache instance acceptable. https://developer.apple.com/library/ios/documentation/cocoa/Reference/Foundation/Classes/ NSURLCache_Class/index.html#/apple_ref/occ/clm/NSURLCache
suppresses content rendering until it is fully loaded into memory. ! When used properly, suppressing incremental rendering can make web views look more like native views.
File Transfer Protocol http:// for Hypertext Transfer Protocol https:// for Hypertext Transfer Protocol with encryption data:// for data URLs localimg:// YOU CAN CREATE YOUR OWN SCHEME FOR LOADING LOCAL IMAGES
[NSURLProtocol registerClass:[LMURLImageProtocol class]]; UPDATE YOUR HTML 3 <img src=“localimg://ourimage.png” /> Example can be found at: http://cloud.loki.io/XlcY
Checkout the `feature/wkwebview` branch • Will be backwards compatible with iOS 7 ! New tutorial on building a `Log In` screen • Checkout the Stacker blog