-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Quick question: considering the target audience of HXLDash, the potential of have "offline"-like access is desirable? (In practice, means someone who already accessed some page, if internet goes down, it would try the local copy of a dashboard instead of go offline)
This issue is not necessary about how to implement, but if the subject is desirable, so people may contribute later. If yes, (or if no) we can just close this issue.
Some of my previous search on HXL tools
The HXLStandard/hxl-hashtag-chooser at the commit HXLStandard/hxl-hashtag-chooser@d948bac tried with AppCache [1] that is easier to implement at coding level, but have some caverats (one notable issue is that the appcache manifest needs to be served with very specific mime type, so it needs some support near server level, so using GitHub pages fails). Another approach (that I personally did not tried yet, but seems feasible and is the replacement of AppCache) is would be Service Workers [2].
If "offline"-like access is desirable, other issues may be added on the future. In fact, maybe would be easier to implement at first on the HXLStandard/hxl-hashtag-choose (since does not have dynamic content) and later try something on hxldash or do on the hxldash in smaller increments.
1: https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache
2: https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers