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

189
Vistas
Chrome Network tab | Time continue increasing after status is defined

I am using the network tab on Google Chrome to see how a script is being fetched. I noticed that even after the status is set, the time continues loading. Why is that? Is this expected?

For example, when the status change to 200 the timer is 6.06s:

First status load

After some seconds, the time continues running also if the status is 200:

After waiting more seconds

This is my code:

const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), 10000);
fetch(`${host}/asset-manifest.json`, { signal: controller.signal })
      .then((res) => res.json())
      .then((manifest) => {
        const script = document.createElement("script");
        script.id = scriptId;
        script.crossOrigin = "";
        script.async = true;
        script.src =
          (process.env.REACT_APP_ENV === "dev" ? host : "") +
          manifest.files["main.js"];
        script.onload = renderMicroFrontend;
        document.head.appendChild(script); // THIS IS THE LINE THAT LOAD THE SCRIPT
        if (manifest.files["main.css"]) {
          const link = document.createElement("link");
          link.href =
            (process.env.REACT_APP_ENV === "dev" ? host : "") +
            manifest.files["main.css"];
          link.rel = "stylesheet";
          document.head.appendChild(link);
        }
        clearTimeout(timeoutId);
      })
      .catch((exc) => {
        setLoading(false);
        exc instanceof DOMException
          ? history.push("/timeout")
          : history.push("/notfound");
      });
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