Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimization #23

Open
9 tasks
konhi opened this issue Jul 16, 2022 · 0 comments
Open
9 tasks

Optimization #23

konhi opened this issue Jul 16, 2022 · 0 comments
Labels

Comments

@konhi
Copy link
Member

konhi commented Jul 16, 2022

Front-end

  • https://nextjs.org/blog/layouts-rfc: this will allow us to use Automatic Static Optimization when fetching in _app.tsx. We can do it with nextjs-preval if we go to production before layout RFC.
  • Remove Chakra UI: it takes several kbs, and we don't really have to use it
  • Longer caching for images from Strapi: since we add hash to every url, it can be cached permanently, but it seems to be hard on Next.js/Vercel
  • Layout Shift: on smaller devices, there's layout shift related to masonry css - we might want to disable it somehow when it's mobile device
  • React to Preact: this should save us several kbs, but it might be uncompatible
  • SVG logo
  • Further image optimization
  • Smaller bundle: npm run analyze
  • Dynamic Import: e.g. Footer

@konhi konhi added the todo label Jul 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant