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

153
Vistas
What is performance-optimized order of assets in HTML head?

I have following assets:

  • Preloaded local javascript - <link rel="preload" as="script" href="my.js">
  • Local javascript - <script type="text/javascript" src="my.js" async defer>
  • DNS-Prefetch of CDN domain - <link rel="dns-prefetch" href="//my.cdn.com">
  • Preconnect of remote javascript - <link rel="preconnect" href="//consentscript.tld">
  • Remote javascript - <script type="text/javascript" src="https://remote.server/my.js" async defer>
  • Inline javascript - <script>myFunc...;</script>
  • Inline styles - <style>body{color:black;}</style>

Empirically, I realized that the order of these assets, as they are listed in the HTML head, influences the loading speed of the page and the Core Web Vitals metrics.

Could somebody point me to the performance-optimized order of asset placement in the HTML head? A link to documentation would help me too.

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

0

Check out Get your head straight by Harry Roberts, summarized in this Smashing Magazine post and CSS Tricks article for guidance and tools to help you optimize the <head> contents.

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