DEV Community

Discussion on: Top 6 reasons Gatsby incremental builds can be slow (and how to make them fast)

Collapse
 
ascorbic profile image
Matt Kane

I'm saying that anything which displays the current time or date should be done only on the client (so in a useEffect hook, for example), because otherwise it will mean that the page is different on every build so can never be cached.