Open Gunnar-Solli-Olsen opened 5 months ago
What should be optimized?
For the purposes of the bachelor writeup, initial ui loading times should be noted down, what changes are done to improve them, and total improvement achieved.
We should try prefetching pages if they are slow to load https://developer.mozilla.org/en-US/docs/Glossary/Prefetch#prefetch_attribute_value
https://nextjs.org/learn-pages-router/basics/data-fetching/two-forms
Performance profiling needs to be done on production build due to 'next dev' not prerendering pages, along with multiple other differences in how pages are loaded.
https://nextjs.org/learn-pages-router/basics/data-fetching/two-forms
For a smooth user experience on all devices, we should explore some options for measuring and optimizing performance.
https://trpc.io/blog/typescript-performance-lessons