sahanbull / x5learn

Web frontend for X5GON project
Apache License 2.0
0 stars 0 forks source link

Use Elm flags to load initial data #275

Open stefankreitmayer opened 4 years ago

stefankreitmayer commented 4 years ago

This is just an idea for optimisation. No priority.

Instead of calling /api/v1/session and /api/v1/load_course in the beginning, we could easily inject this data into the JavaScript part of home.html, under flags.

Benefits

Downsides

Conclusion

Seems doable but hard to justify the effort.