After creating an application where some pages are rendered on the server side, I noticed that something wasn't right. When viewing the requested pages in my browser, everything seemed normal. However, when I sent a CURL request to the page and saved the response to a file named mypage.htm
, upon opening the file, the page did not render as expected.
The main reason for choosing server-side rendering was to cache responses in a frontier layer like Nginx or Varnish.
I am curious to know if Next.js truly provides fully server-side rendered pages, or if it's just pretending to play its role like a Hollywood star saying, "Hey, I render things on the server side," even though things are not actually being rendered on the server side. Did I overlook something in the details?