Is Draft Mode supposed to bypass the fetch requests cache ?
Unanswered
Labrador Duck posted this in #help-forum
Labrador DuckOP
Hi, basically the title.
I added Draft Mode on my project but when enabled is it supposed to force render pages with cached
I added Draft Mode on my project but when enabled is it supposed to force render pages with cached
fetch requests ? Or is it just a way to alter/changer the fetch request to get some draft/preview data out of some CMS ?2 Replies
Labrador DuckOP
Bump
It just adds a cookie which makes it so that data from that particular route handler can be fetched at request time.
Normally when using static pages, all the data is fetched at build time so that no more request will be made to fetch that data at request time. Draft mode bypasses this for the routes which have this enabled.
Normally when using static pages, all the data is fetched at build time so that no more request will be made to fetch that data at request time. Draft mode bypasses this for the routes which have this enabled.