Example, using SSG
This page uses static site generation (SSG) because it uses
(it also uses
Therefore, this page has been statically generated 3 times, for: fr | en-US | en
Learn more about the technical details
Each page refresh (either static or CSR) fetches the static bundle and displays products below.
If you use Stacker and update the products there, then the products below will NOT be updated, because each page refresh will still fetch the static content, which was generated at build time.
Therefore, changes there won't be reflected here. (but they'll be reflected on the SSR version though)
N.B: During development, the static page is automatically rebuilt when refreshing, so the above behaviour is only valid in staging/production stages.
getStaticProps
(it also uses
getStaticPaths
, because it's necessary for i18n support, to generate a different page, per available locale).Therefore, this page has been statically generated 3 times, for: fr | en-US | en
Learn more about the technical details
Each page refresh (either static or CSR) fetches the static bundle and displays products below.
If you use Stacker and update the products there, then the products below will NOT be updated, because each page refresh will still fetch the static content, which was generated at build time.
Therefore, changes there won't be reflected here. (but they'll be reflected on the SSR version though)
N.B: During development, the static page is automatically rebuilt when refreshing, so the above behaviour is only valid in staging/production stages.
Published products
Draft products
sdfghnj
sdfghj
sdfgh
0€