Automatic Partial Static Export
See original GitHub issueWith v.9
we got this cool thing called “Automatic Partial Static Export” with the indicator icon in the bottom right corner. So I know if this will be a prerendered page or not.
Just want to get my head around this case, why do we lose this icon when we are using this lib? Is it because getInitialProps
is called in the root which is blocking all sites from the static export abillity?
In my case I also have some landingpages which are not connected to my API which again I would like to serve static and save ressources. So this repo might not be the ideal solution for this case? Any advices?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Advanced Features: Automatic Static Optimization | Next.js
Automatic Static Optimization. Next.js automatically determines that a page is static (can be prerendered) if it has no blocking data requirements.
Read more >A Complete Guide To Incremental Static Regeneration (ISR ...
Incremental Static Regeneration (ISR) is a new evolution of the Jamstack, allowing you to update static content instantly without needing a ...
Read more >Incremental Static Regeneration with Next.js - LogRocket Blog
Every page should export a function that gets the required properties to render the page. The React component of the page does not...
Read more >Incremental Static Regeneration – Vercel Docs
Incremental Static Regeneration (ISR) allows you to create or update content without redeploying your site. ISR has three main benefits for developers: ...
Read more >Next.js 9 releases with built in zero-config TypeScript support ...
Automatic Partial Static Export. A heuristic was introduced to automatically determine if a page can be prerendered to static HTML using ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Would also love ability to use this with page components 😃 Thanks for all you do @lfades and viva Colombia!
@NikoMontana I did some research in a test project and I think it can work outside of
_app
and still have a shared cache without issues, it would not have to be a breaking change so I’ll see how to add it soon 👍