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

85
Vistas
deploy jquery or javascript front-end project

I use adminlte admin template for my admin panel project. adminlte is developed with jquery, javascript, and bootstrap. I developed a project with separate front-end and back-end layers, which means my front-end project is just jquery and javascript and backend is .net core. When I want to publish the front-end layer, I just copy files on the server. I want to know, is this the correct way?

One of the problems is that the browser caches javascript files and when I copy the new version on the server, browsers loads previous versions. How to solve this problem?

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

0

Into your import, you can use param like ?=xxx and change this value when you have new version of this js

<script src="js/XXX.js?v=1">

next time if you want to update that

<script src="js/XXX.js?v=2">
about 4 years ago · Juan Pablo Isaza Denunciar

0

I do know on firefox and chrome you can disable caching by going to the network tab on the developer panel and click the disable cache button firefox chrome

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