"Provisional headers are Shown" slow request

Asked

Viewed 7,085 times

1

When I make an AJAX request with $.post jQuery, while the request is made Chrome displays me a message Provisional headers are Shown and I feel that he stops the request while displaying this message, thus taking longer to complete the request

Does anyone know how I can fix it? maybe tell Chrome not to notify me more about her... I know it’s because of the headers but they’re all normal and the system is closed so there’s no danger.

  • Two things to check: 1) if you have an extension of Chrome blocking content (adblocks in general), turn it off and do the test again. 2) make sure the ajax is being made for the same domain. (even www.dominio.com and domain.com are different things for a good test)

  • @Bacco yes, I’ve checked those two possibilities and it’s all right.

1 answer

2

  • Could it be because the identity of the site is not proven?

  • 1

    So after I read more about and witnessed some similar episodes, I realized that it’s really the kind of thing that comes up only when the request takes too long to be answered. It is probably a solution to put temporary headers for responses that are too long, or time consuming. A good tip I took from this for me, which can also be useful for you is to try to review your request and what it works. Probably refactoring it may be a good option.

  • 1

    Ah understood, so you mean that this message only appears when the request takes too long instead of it causes the delay?

  • Exactly Silvio! I believe that this is a very sensible conclusion.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.