dukecon / dukecon_html5

MIT License
2 stars 3 forks source link

prevent init.json from being called multiple times on first load #106

Closed steffchep closed 6 years ago

steffchep commented 7 years ago

Problem: login and header widget as well as dukecon and offline modules all call urlprovider.getData. With bad timing this can lead to 4 server requests (at most).

Try something like here, perhaps:

https://stackoverflow.com/questions/29595179/prevent-multiple-ajax-calls-to-the-same-url-within-timeframe

ahus1 commented 6 years ago

this is fixed in the PWA client.