arrow_back返回时刻时间线

As the website content increases, the Ne… · Mudanjiang · Moments

Binyang

As the website content increases, the Nextjs SSG build time also gets longer.

The previous consideration was: pre-render pages, use less SSR, to make pages load faster. Recently when deploying, I found that the waiting time has become longer, mainly stuck at the Nextjs build step.

I asked the AI, and based on the problem and website scenario, the AI helped me analyze it. After seeing the AI's response and thoughts, I removed SSG and only use SSR. This goes back to the traditional service routes like PHP, Rails, etc. Server-side rendering + caching feels much cleaner. The speed of deployment and page access is fine.

Through practice, I can feel: technology application should be used as problems arise and are solved; there is no standard answer.

SHARE

Share

Share this moment.