Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

410
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda