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

201
Vistas
XAMPP updates only one .js file of two upon Ctrl + F5

I have a page in development which links to two .js scripts. When I tested it in XAMPP, it was not loading changes to either .js script. Using Ctrl + F5 to reload the page causes it to notice my changes to the second script, but not my changes to the first. What can I do to make it refresh both?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

The extreme way is to add an .htaccess in your webroot folder.

In there you should add following lines:

# BEGIN Expire headers
<ifModule mod_expires.c>
  ExpiresActive On
  ExpiresByType text/javascript "access plus 1 seconds"
  ExpiresByType application/javascript "access plus 1 seconds"
  ExpiresByType application/x-javascript "access plus 1 seconds"
</ifModule>
# END Expire headers

But with this approach you will always load the javascrip file. For production use not recommended.

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