Next.js caching is not revalidating properly when the global data is updated in TinaCMS. Although the updates are successfully saved in the content files, the changes do not immediately appear on the site. Two temporary solutions have been identified:
CC: @wicksipedia @adamcogan @JeanThirion @sethdaily @Freego1783
Description
Next.js caching is not revalidating properly when the
global
data is updated in TinaCMS. Although the updates are successfully saved in the content files, the changes do not immediately appear on the site. Two temporary solutions have been identified:revalidatePath
to force a page re-render:- https://github.com/tinacms/tina-cloud-starter/pull/555A long-term fix is needed to ensure that content updates are reflected without requiring manual steps.
Acceptance Criteria
https://github.com/user-attachments/assets/83a828d1-5a77-4fea-9668-a5c0f3d913b2
Figure: Problem + "Disable cache" Fix