1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
The problem was due to the 1 MB size limit of CloudFront Lambda@Edge responses. I didn't realize that Next.js's serverside rendering was creating a large <script id="__NEXT_DATA__"> tag on my homepage with all the fetched info from my API duplicated multiple times over. This resulted in my app's homepage being >2 MB.
I refactored my app to only send one network request, and made sure that data is only put into the NEXT_DATA tag once. The app now works.
(I still don't know how to sign in to the original account I used to ask the question)
respondido hace 2 años
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace un año
I made this question but when I tried to sign in a day later, re:Post made me make another account and now I can't access the previous account which made this question.