zlacker

[parent] [thread] 2 comments
1. antilo+(OP)[view] [source] 2025-12-05 15:52:43
Make faster websites:

> we started rolling out an increase to our buffer size to 1MB, the default limit allowed by Next.js applications.

Why is the Next.js limit 1 MB? It's not enough for uploading user generated content (photographs, scanned invoices), but a 1 MB request body for even multiple JSON API calls is ridiculous. There frameworks need to at least provide some pushback to unoptimized development, even if it's just a lower default request body limit. Otherwise all web applications will become as slow as the MS office suite or reddit.

replies(2): >>ramon1+g4 >>Amazin+V4
2. ramon1+g4[view] [source] 2025-12-05 16:08:34
>>antilo+(OP)
The update was to update it to 3MB (paid 10MB)
3. Amazin+V4[view] [source] 2025-12-05 16:10:48
>>antilo+(OP)
a) They serialize tons of data into requests b) Headers. Mostly cookies. They are a thing. They are being abused all over the world by newbies.
[go to top]