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

416
Views
Next JS - How to force update the application or reload the cached JS files?

I'm using the Next JS application. Whenever I deployed new code to production, end-user did not get updated to the latest version and always site served from the browser cache. then I need to inform the users to clear cache or use incognito mode to get the latest code.

Is there any better way to clear cache in the user browser, (or) Auto-update cache whenever we deployed the new code in production in the next JS?

Tried the following steps:

  1. Disabling e-tag - Not working.
  2. Reload the page(window.reload) - Not working.

Attached the image in which I tried the new next js app. enter image description here

about 4 years ago · Juan Pablo Isaza
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!