sg1993
sg1993

Reputation: 335

Storage for chrome-extension

I am working on a chrome extension for managing sessions. I would like to store some data related to sessions and this is what I have found out till now:

1) Local Storage: Looks good to me, but I am afraid I may have too much data, and there seems to be quota on the storage. Also, local storage is more of a long-term cache, not too much dependable.

2) SQLite: not sure how it works. Need more advice on this.

3) Chrome Filesystem API: Available only on apps, not extensions.

4) HTML5 Filesystem API: Works on a virtual file-system

Please advise on the possible options.

Upvotes: 1

Views: 372

Answers (2)

Adi
Adi

Reputation: 6354

How about IndexedDB,
It's known for being great for client side apps, and has Unlimited space to store anything type of data you want.

Upvotes: 1

Bitwise Creative
Bitwise Creative

Reputation: 4105

What about the chrome.storage API? https://developer.chrome.com/extensions/storage

Upvotes: 4

Related Questions