ios webview caching

Partial work for @imurchie to take over.
note: only should be removed before ultimately merging @imurchie