Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

馃悰 Fix Next.js Caching Issue with global Data Not Revalidating#556

Description

@JackDevAU

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:

  1. Using revalidatePath to force a page re-render:- revalidate path if in edit mode - "essentially disable cache"聽#555
  2. Disabling cache in the browser's network tab to bypass the issue.

A long-term fix is needed to ensure that content updates are reflected without requiring manual steps.

Acceptance Criteria

  • Investigate the issue with Next.js cache and revalidation in development.
  • Fix the problem preventing edits from appearing in TinaCMS.
  • Test across multiple browsers to ensure the issue is resolved.
2024-10-16.11-29-39.mp4

Figure: Problem + "Disable cache" Fix

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions