Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

84
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda