Joe7349603
Posts: 0
Joined: Tue Jan 27, 2015 11:08 pm

What is the limit on IndexedDB to support image upload

I am building an APP where users will need to upload up to 5 Images. I am using API Express to support offline capabilities in case the user loses internet. I know there is a limit on LSV but what is the limit on indexedDB. Phones this days are capable of capturing large images and I want to know what my limitations are.

The other question/confirmation is: after changes are committed to the DB does Appery clear the IndexedDB..I read the documentation on Mozilla that said data is persistence but how is Appery handling this..

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

What is the limit on IndexedDB to support image upload

Hi Joe -

The Appery.io app works in the browser and all IndexedDB restrictions are related to the specific browser in which your app is running. The official site states the following: https://developer.mozilla.org/en/docs...

Joe7349603
Posts: 0
Joined: Tue Jan 27, 2015 11:08 pm

What is the limit on IndexedDB to support image upload

Thanks Illya,

Last questions: After changes are committed into DB does Appery clear the IndexedDB or this is something I will need to do manually if I need to?

Using another use case, assuming, I want to give users access to all the reviews they have made, I would leverage the IndexedDB (assuming it is not cleared by ApperyIO). My question is, how would I reference/access the content in the IndexedDB to work with its content.

Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

What is the limit on IndexedDB to support image upload

Hello Joe,

Here is an update:
You don't have to clear the DB since it can lead to incorrect functioning of client sdk.
Everything is to be done at our side.

Joe7349603
Posts: 0
Joined: Tue Jan 27, 2015 11:08 pm

What is the limit on IndexedDB to support image upload

Thanks Galyna,

When you say Everything is to be done at our side- do you mean managing the size limit of IndexedDB.

Having said that, when I opened this thread my plan was to use IndexedDB for all offline capabilities including binary (Images). It has now been clarified by Appery team that APIExpress DOES NOT support binary data so this means my concerns are irrelevant since text data doesn't take as much space as binary.

Anyhow thanks for closing the loop on this.

Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

What is the limit on IndexedDB to support image upload

Hello Joe,

I meant clearing the DB. So, that you don't have to do it yourself and you'd rather not do it. )

Return to “Issues”