#Home page is revalidating path `/home` but not `/`

2 messages · Page 1 of 1 (latest)

muted sail
#

I'm using the payload website template, and I haven't changed anything with the ISG flow (the root page.tsx imports and re-exports the main component from [slug]/page.tsx. I've deleted the homeStatic bit from the template.) I'll share code below.

The issue: When editing in the admin panel, the console shows that revalidatePath('/') is firing, and I can navigate to /home and see my new changes, and even see them at /. But if I navigate to / and refresh the page, then it reverts to the page that was pre-rendered at build time.

I feel like I'm overlooking something simple here but it's been driving me crazy for a week now. Any immediate thoughts?

granite dragonBOT