Unanswered: Is there a limitation in number/size of files sent to the src.sencha.io/data servic?
Unanswered: Is there a limitation in number/size of files sent to the src.sencha.io/data servic?
Hi,
I have a bunch of 40 images loaded from my DB in my ST2 app when I am online, trying to transform them into dataUrls in order to store them in my local storage. I am following this tuto for that: http://www.sencha.com/learn/taking-sencha-touch-apps-offline/
After around 10 files or 1600Mo of data, the service return with a 404 Not Found on all my service requests. Because you are caching all the images previously encoded, my theory is that you have a limitation in the size of this cache ? But I am not sure, any help here ?
Any alternative solution would be great, I really need to store those images offline.
Regards
There does seem to be a bug somewhere but you may want to look into local encoding solutions rather than doing this over the internet as it would be quite a bit faster. In fact the blog post about src.sencha.io even mentions this.
Thank you for the quick answer Mitchell.
Can you point me in the right direction for the blog post you talking about ? I have read many but didn't find anything really explicit on how to use a local solution. I reckon it may be :
- Using the canvas encoding function (hopefully will not run in any security issue), do you have any code example with ST2 (or 1 will do) on hopw to implement this solution ?
- Using the phonegap API
Which one would you go for ?
And, do you have any ETA n fixing on the sencha.io issue ?