brasiliapp / web

Plataforma web que ajuda a população brasileira a monitorar as despesas de cota parlamentar, verbas de gabinete e falas dos deputados federais nas sessões da Câmara dos Deputados.
https://brasiliapp.com.br
36 stars 12 forks source link

Improve the webapp performance (WORK IN PROGRESS) #21

Open matmatias opened 1 year ago

matmatias commented 1 year ago

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.

vercel[bot] commented 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
matmatias commented 1 year ago

WORK IN PROGRESS.

related to #17.