I've searched and couldn't find an effective answer to the following question and since it's (remotely) associated with loading material assets, model JS'es and stuff, I thought here's as good as any place to post it. Since it could be found with a forum search if anyone else wanted to know about it. Anyway...
Does anyone here know how to effectively monitor the browser appcache "UpdateReady" event in C2?
Essentially, I want a "appcache is in progress" message to dissappear when "UpdateReady", but I tried with the browser object's "On offline ready" and "On update ready" events and they don't seem to work.
It would be great if it did work (or work consistently) so users would know if content/assets are being updated or not.
I did read in one response by Ashley that it's not guaranteed to work and is dependent on server responding with a content-length header. But before I go and do some server configurations to check, I'd like to post this question and see if any one of you delightful folks were able to get it working at all.
Seems straightforward from what it says in their event descriptions. But then again, I could be using it wrong.
EDIT: It works. But not sure why it doesn't when it doesn't.