HTML5 localStorage space limit on iPad Safari

16,071

Have a look at how the Financial Times web app deals with it:

http://apps.ft.com/ftwebapp/

On installation it detects the limit and then provides instructions for the user to manually increase their limit to 50MB using the Settings app.

If there was an easier/automatic way to do this, I'm sure they'd use it.

Share:
16,071
Chris
Author by

Chris

Updated on June 26, 2022

Comments

  • Chris
    Chris almost 2 years

    To clarify I'm referring to the key/value localStorage pairs, not Web SQL DB or IndexedDB.

    Is it strictly a 5MB limit for the iPad, or is it true that it's unlimited but it will ask the user to allow/deny once you exceed 5MB?

    I'm hoping to use localStorage to store a large amount of data and so is important that it's unlimited.

  • Chris
    Chris over 12 years
    So beyond 5MB it will ask for permission then increase to 10MB, will it continue to increment with permission or is 10MB the max?
  • Chris
    Chris over 12 years
    are you sure it's unlimited for the localStorage key/val? I believe the Web SQL DB local storage has a different cap.