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

130
Vistas
How can I attach a handler to when a resource request is created? (e.g. img source, CSS file)

I want to be able to record the time when an image begins loading. Specifically, I append an image to the DOM, then I want to log when the browser begins the request & when the request completes.

I can log when the request completes by adding a handler to the load event.

How can I listen / log when the browser begins the request?

(Note, it is not as simple as tracking the time of appending to the DOM in JS as additional things may happen before the DOM flushes / other resources may be loading before the image)

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