shvilam / LocalCacheLoader

Adobe Air LocalCacheLoader Will save file in the filesystem and then retrieve it from there. Persistent manger
http://shvilam.github.io/LocalCacheLoader/
MIT License
38 stars 5 forks source link

Another use case #1

Open fljot opened 10 years ago

fljot commented 10 years ago

I suppose it might be useful to share potential use cases (I guess there is such thing as "use case driven development").

You have AIR app, desktop or mobile – doesn't matter, but think of it as an app for exhibition. It is data driven and that data comes from server (usually it's editable by some sort of CMS). So you want to pre-cache all the assets first on the startup, then start the app.

I can imagine, it is possible to do with the current version (simply by loading every asset). But there is really no point to use actual loader classes – it would be better to download them via Loader.loadBytes() and directly put the into storage directory.

shvilam commented 7 years ago

I am not sure you are right I don't do cash for all assets it take allot of time for few essential I do but for the rest I am just request then and cash them when I need them