Anant Narayanan schrieb:
Updating packaged apps is a reasonably well-understood problem, hosted
Apps on the other hand are a bit more complicated.
Actually, for me, hosted apps feel well-understood as they (should)
follow the web paradigm of not having versioned updates but rather TTL,
just like websites do. There's some kind of cache, the contents of it
have a TTL, after that, current contents get renewed from the origin
(or, more elaborate, the origin is asked if the current content differs
from the cached content and the cache is only refreshed if so) and the
TTL "timer" starts anew. If you want to be able to avoid more edge cases
of that model, you can enable the app/site to trigger an early,
"unscheduled" cache eviction/refresh.
That's what I would expect from hosted apps, as it's the "webby" model.
I actually find updating of packaged apps much less understood from my
POV, as anything I can think of feels so un-webby and is another thing
that increases the rift between the "webby" model I just described and
the "not-of-the-web" packaged model. ;-)
Robert Kaiser
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps