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

230
Visualizações
Chrome is slow to load first AJAX response

I am building an application using React and Flux. Clicking in a list of items initiates an action which then starts (via an effect) an AJAX request using axios (though I have tried superagent-bluebird-promise with the same results).

The issue is that using Google Chrome, when first making this request, there is a delay of approximately two seconds between clicking the item in the list and the AJAX request being initiated. Subsequent clicks instantly start loading the request.

Using Firefox, all requests are instantaneous.

Edit: I have tested on two Ubuntu PCs, and can replicate the same symptoms. I can also replicate the symptoms on my Android, with a bigger delay (about 4 seconds).

Here is a screenshot of a profile made under Chrome:

Chrome weird dispatch action AJAX delay

Is this a bug with Chrome, or what?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

It is a bug with Chrome.

The project I'm writing has some code which is (more or less) directly copied from a previous (unfinished) project of mine.

Running the old project again, I encounter the same issue with Chrome. It never occurred before when I was working on it (a few months ago).

over 4 years ago · Santiago Trujillo 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