Investigate improving front end performance through loading optimizations
When loading the app through chrome using the network/performance throttle options, the page takes upwards of 15-20 seconds to load. When using lighthouse for initial investigations, there are a few things we can do to optimize the page load.
- Offload parts of the main JS script into lazyloaded imports - https://web.dev/code-splitting-suspense/?utm_source=lighthouse&utm_medium=devtools
- Move GTM scripts to be defered until page load if possible.
The biggest changes and improvements will be found by offloading typically unused imports such as the ChartJS imports to lazy loading, as it represents a large portion of our typically unused code.