use draftmode with cache
Answered
B33fb0n3 posted this in #help-forum
B33fb0n3OP
Hey, some time ago you can use draftmode with cache. Like that you can controll the revalidation of pages to have a production and draft enviorement. See here: https://discord.com/channels/752553802359505017/752647196419031042/1237710243207712768
Now it seem's like it's "fixed" and yes if you are in draftmode no unstable_cache is cached. But how to get the cache back? I just want to display the static page as dynamic page, not having dynamic unstable_cache functions...?
Repo: https://github.com/B33fb0n3/iframerevalidate
Now it seem's like it's "fixed" and yes if you are in draftmode no unstable_cache is cached. But how to get the cache back? I just want to display the static page as dynamic page, not having dynamic unstable_cache functions...?
Repo: https://github.com/B33fb0n3/iframerevalidate
1 Reply
B33fb0n3OP
Fixed by using own draftmode cookie
Answer