I sometimes feel like I’m taking crazy pills when it comes to web development. This literally the functionality WordPress + a caching plugin has been providing for 15+ years.
Many people are still using Next.js with WordPress, but they’re using it “headless”. The difference here is that static assets can be served globally (versus a monolithic WP single region server) and cache purges can happen globally in about 300ms.
Yes you’re right, but Next.js also provides many other modes of rendering content with a fairly consistent API.