2

We have a HTML5 app that need to be work offline as well.

Recently we noticed app is no longer get cached in Chrome 48 in IOS 9.2(ipad)

The app still works(get cached) normally as it used to be with Safari in IOS 9.

I have noticed application cache has been depricated by Mozilla https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache , but Chrome has not indicated that they have removed support for this and Chorme in other OSs works fine. Can someone suggest how to fix this issue or where to look at.

Hiran
  • 698
  • 1
  • 10
  • 29
  • I just ran into this problem myself... fortunately, I will only have a small, dedicated user base, so I'll just have to tell them to use Safari... – skwidbreth Jun 16 '16 at 17:40

2 Answers2

3

This is a limitation of WKWebView. See this Chromium bug and the related WebKit bug.

smorgan
  • 20,228
  • 3
  • 47
  • 55
  • So this mean it is happening because of a WEBkit bug , not because WEB-KIT has deprecated it. – Hiran Feb 07 '16 at 23:51
  • It means that WKWebView currently provides no way for third-party applications to enable application cache support. Whether that's a bug or not is up to the WebKit developers to decide. What almost certain *is* a bug is that just enough of it is present that it confuses sites that do feature detection to determine whether it's supported. – smorgan Feb 08 '16 at 05:59
  • WebKit [bug](https://bugs.webkit.org/show_bug.cgi?id=152490) is still in "new" state, need to find an alternative way to tackle applicationCache. – Hiran Feb 21 '16 at 21:22
1

This issue has now fixed in iOS10.

Hiran
  • 698
  • 1
  • 10
  • 29