icssc / AntAlmanac

A course exploration and scheduling tool for UCI Anteaters
https://antalmanac.com
MIT License
54 stars 64 forks source link

Investigate building the site as a static html page to improve page loads #407

Closed EricPedley closed 11 months ago

EricPedley commented 2 years ago

If you really want to speed up the initial page load, I think a better solution would be SSG on build, so we serve html instead of waiting for javascript to render. Might require a bit of work to handle network calls for search though.

Originally posted by @ChaseC99 in https://github.com/icssc/AntAlmanac/issues/406#issuecomment-1183844868

If anyone looks into how we would go about doing static site generation as an HTML file instead of js bundle, post your research findings here.

EricPedley commented 2 years ago

This setup for manually running webpack might be useful: https://github.com/icssc/AntAlmanac/tree/manual-webpack Also see this comment: https://github.com/icssc/AntAlmanac/pull/406#issuecomment-1186294798

EricPedley commented 11 months ago

Not super important, more work than it's worth, closing.