Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

164
Views
Does NextJS on demand revalidation works for Next/link?

https://nextjs.org/docs/basic-features/data-fetching/incremental-static-regeneration#on-demand-revalidation

From NextJS docs, it seems that on demand cache revalidation should work fine with regular <a> tags and also when you refresh the page.

But will it work when the user clicks on <a> tag that has been rendered using Link from 'next/link' ?

Those links are client-side rendered and it's not clear to me if this is going to work:

  1. User visits home
  2. User clicks and visits Post1 link
  3. Post1 gets revalidated on the server
  4. User goes back home
  5. User clicks and visits Post1 link again

Assuming all those links were rendered using Link from next/link.

Will they see the new version of Post1 on step 5? Or will they still the same page they saw on step 2?

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!