Skip to content

Instantly share code, notes, and snippets.

@janl
Last active August 29, 2015 14:19
Show Gist options
  • Save janl/d8efa4e404072037f7e0 to your computer and use it in GitHub Desktop.
Save janl/d8efa4e404072037f7e0 to your computer and use it in GitHub Desktop.

@ppk asks: “OK, suggestions for my next bit of research?” — https://twitter.com/ppk/status/587545743625478144

@rem replies: “@ppk storage. What works in browser, what browsers, what phones, how it changes when *added to home screen", limits, etc. How's that?” — https://twitter.com/rem/status/587566978065367040

Here’s what I whipped up, please add more in the comments:

APIs:

Topics:

  • compability across a broad browser matrix (hello Mobile Safari)
  • storage limits across browsers and OSs
  • eviction policies per browser/OS
  • storing objects vs. storing text vs. storing binary data / Blobs

See also:

@pp-koch
Copy link

pp-koch commented Apr 13, 2015

Is launched from homescreen a different use case than using the WebView?

@nolanlawson
Copy link

@pp-koch: UIWebView, WKWebView, homescreen app, iOS Safari, and even Chrome on Safari (!): none of the above should be considered equivalent. I've seen WebSQL/IndexedDB issues that occur in only one of the above. The Raymond Camden article has them all listed in the comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment