next.js
f7496849 - Update cache handling in draft mode (#51663)

Commit
2 years ago
Update cache handling in draft mode (#51663) Similar to `getStaticProps` when draft mode is enabled we should bypass the cache so fresh data is shown. x-ref: [slack thread](https://vercel.slack.com/archives/C052BQ8F9EJ/p1687440125828479?thread_ts=1684336597.437409&cid=C052BQ8F9EJ) and [tweet](https://twitter.com/tomus_sherman/status/1669023879656873988) --------- Co-authored-by: Steven <steven@ceriously.com>
Author
Parents
Loading