Hello! I hope you are doing well
I have an issue facing from a couple of days but failed to resolve it. The issue is that if I updating any content from the builder studio it is updating when I see by clicking the “view current draft” but not updating after clicking the “live page” I 100% sure the issue is with the cache.
Please note that the updated content is showing after 2-3 more changes or after very long time I am attaching code base screenshots for your preference.
Thank you
const [heroContent, workflowContent] = await Promise.all([
builder
.get("hero", {
userAttributes: { urlPath },
cache: false,
static: true,
options: { enrich: true },
cachebust: true,
})
.toPromise(),
builder
.get("workflow", {
userAttributes: { urlPath },
cache: false,
static: true,
options: { enrich: true },
cachebust: true,
})
.toPromise(),
]);
I have read soo many articles saying “you can add cachebust cacheTime enrich and what not” but after implementing all the scenarios I am still getting this issue .
I simple want if I do changes from builder studio clicks on publish go to the live page it update my data. (A simple refresh once is acceptable).
Looking forward for your response
What I am using:
Nextjs 14 app router