Open matmatias opened 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
brasiliapp-web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 1, 2023 7:07pm |
WORK IN PROGRESS.
related to #17.
About
The main bottleneck on the webapp performance is comming from the /deputado-federal/[name] page.
Cause
The cause for this bottleneck is the execessive amout of data being rendered on the server side. This data being (expenses, speeches and cabinet), all of which are arrays of medium to big objects
Solution
Make speeches and cabinet requests to be rendered on the client side. In the moment, the expenses data can't be rendered on the client side because it would impact SEO. Solution to this specific problem is still being discussed.