Re:300ms Faster: Reducing Wikipedia's Total Blocking Time
by undefinedzero on Monday May 29, 2023 @06:45PM
(#36119000)
The page will render perfectly fine before it is hydrated when using getStaticProps. To verify , simply run LightHouse in Chrome on a page with cache busting on and look at the screenshot timeline. It will render in a fraction of a second, long before React gets loaded.
Look for a tag like this: <script id="__NEXT_DATA__" type="application/json">