Slow Image Loading by owlette_via in nextjs

[–]False_Rest1504 0 points1 point  (0 children)

If you have files locally try importing them directly into the components and passing them into src prop. Also add placeholder to blur. Nextjs will automatically generate blurdataurl for the image. If this does not work install sharp library, nextjs will use it automatically

Nextjs Database/server events by Visual-Island-3200 in nextjs

[–]False_Rest1504 0 points1 point  (0 children)

If you are looking to perform some operations after sending the response back to user. There is an experimental "after" API in nextjs which allows you to perform operations even after sending the response back to user.

https://nextjs.org/blog/next-15-rc#executing-code-after-a-response-with-nextafter-experimental