Sizing an HTML 5 website database after creation

I am using HTML 5 Web SQL Database in Safari. I set the database size to 5 MB. After creating the database, the size increased, but I can not find out the new size of the database. Where can I find the size of the database after creation?

+4
source share
1 answer

The database is stored on the client in different places:

  • Windows: / Users / {user} / AppData / Apple Computer / Safari / Databases
  • Safari: ~ / Library / Safari / Databases

There is a main database file in this folder that points to your database in the corresponding subfolder. You can see the size of the database in Explorer / Finder. However, I find that the size of the database is platform dependent (and the size of the database varies greatly between Safari and Chrome).

+6
source

Source: https://habr.com/ru/post/1392615/


All Articles