Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Consider moving chat fetching to client side

Open AbdBarho opened this issue 2 years ago • 0 comments

nextjs randomly shows this in the console:

Warning: data for page "/chat/[id]" (path "/chat/222222-1111-1111-1111-11111111") is 449 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data

We should either move the fetching to the client, or try and compress the values. (although our server is already overloaded, compressing might make stuff worse).

AbdBarho avatar Apr 16 '23 13:04 AbdBarho