javascript - Cached newssite packaged app: which local storage to use? -


so i'm building chrome packaged app updates every x hours in background, checks if newssite has new articles & adds them "local storage"-solution.

that way user able view articles when there no internet connection available. (for instance when he's on train or so)

now, need store data somewhere locally. i'd work mvc structure, structured solution great. did research, , found number of ways this:

indexeddb - key value storage, not great images, limited in space storage api - small amounts of string data, unstructured filesystem api - unstructured

so, i've found 3 ways store data, non perfect. missing out on way solve problem? idea use indexeddb text , structure (it can save objects) , use filesystem api store images in sandboxed area?

i use chrome.storage api. in extension or app if use api can store objects unlike filesystem api.

you consider using syncfilesystem api gives access save , syncronise data google drive saved data available across each device of user.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -