Home

A Page with getStaticProps + revalidate (ISR)

If you see me the page hasn't hydrated and is not interactive...

It get's prerendered at ... it's too complicated, see at the concept guide of Vercel

Random number from getStaticProps: 53.46967135722205. Will change everyrevalidate interval of 10 seconds on the first visitor and then be the same static page for subsequent visitors within 10 seconds.

Will it work with Hash-based strict-dynamic? Yes! As long as least 1 page get's prerendered at build time.

E.g. if you had 1 million product pages in an e-commerce app, as long as you prerender at least 1 product page at build-time by returning a page path from id in getStaticPaths and set { fallback: true | "blocking" }. Then you can prerender the remaining 999999 products lazy on demand.

Even though its seems dynamic, it doesn't prerender per request. It is "static for a while" for everybody, so it cannot use a Nonce-based CSP. Must use Hash-based CSP like a regular static page.

Inline Styles

Hi, i am styled with by an inline style tag. If I am teal, I am trusted by CSP

Hi, i am styled with by an inline style attribute, If I am fuchsia, I am trusted by CSP

Internal navigation to other pages: