Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

185
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!