Storing files locally in Node Webkit App -


folks:

i'm creating app using node webkit. purpose of app display images , pdfs. app needs download files central repository, , cache them locally. when app runs offline, files should still available, , displayed.

on face of it, sounds appcache answer - , indeed heading when pure webapp in browser. however, i've discovered node-webkit, , here are.

node-webkit's github wiki states: "however, application cache designed browser use, apps using node-webkit, it's less useful other 2 method, read html5 application cache if want use it."

but doesn't why.

i've researched node.js filesystem - seems whole magnitude of complexity above need.

can point me in sensible direction?

thanks.

it has nature of app cache itself.

you specify manifest file lists static assets required app run offline. don't have programmatic access cache add , remove files via js.

so node-webkit app, it'd make more sense fetch these files , store them in application support folder (or appdata, depending on platform). that's node.js part useful, file io stuff.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -