dukecon / dukecon_pwa

This provides a conference planner for example for the JavaLand Conference
http://dukecon.org/
MIT License
6 stars 5 forks source link

Switch handling server urls to static json data in /conference-data/ #71

Open sippsack opened 6 years ago

sippsack commented 6 years ago

The DukeCon Server will not deliver conference data (javalandxxx.json) anymore in a very near future. Instead, single Java processes will import conference data and write it to static files:

https://latest.dukecon.org/conference-data/javaland2016.json https://latest.dukecon.org/conference-data/javaland2016/speakers/xxx.jpg

The DukeCon PWA client has to read these static files, using If-None-Match (etag) header to avoid unnecessary reads.

sippsack commented 6 years ago

6d07f65ef47c981c5d8013ec28d3d0cf2b8bb27e

ahus1 commented 6 years ago

When you change URLs, please add this to the docs (INTERFACES.adoc).

Also update the service worker configuration to make them available offline (webpack.prod.conf.js, approx. line 127)

sippsack commented 6 years ago

@ahus1 thanks for the remind, will do that.

I still try to figure out the current etag support. Currently it looks like if-none-match also works automatically for conference json data when the service worker fetches data from network. I have to check, if etag support also works for static json files.

ascheman commented 4 years ago

Please check if this issue/branch is still necessary @sippsack, since we try to keep usage of the current interface of DukeCon-Server even with the static data generator (cf. dukecon/dukecon_server#102).