That sounds sort like an inefficient static site generator
back
2 comments
It sounds like a hack, which is after all what this website is dedicated to.
Sounds like an inside-out NextJS!
What you can do with this is design your app as an SPA and have this give a quicker loading experience to any route that is “logged out” so to speak.
The problem is in reality you are logged in and what NextJS can do is allow you to define the subset of the page that can be static.