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

331
Visualizações
Are hashes in the names Javascript and CSS files used for integrity checking?

Many websites use hashes in Javacript and CSS file's name. For example, this page, as of writing, uses a file referred to with URL .../stacks.min.js?v=b0f9a80d741d. Other sites just place a short hash in the file's name: main.abcd123.js

  • Is this used automated integrity checking? For example, when the browser loads stacks.min.js?v=b0f9a80d741d, does is verify that a hash or digest of this file matches b0f9a....
  • Does this pattern have a name?
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Nope its not for integrety checking. It for cache busting. Browsers cache static files. Everytime a new version of this script is uploaded the ?v=X part changes (by the bundler/packager/...) so the browser thinks its a new file and downloades it again, instead of reading from the local cache.

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