B
B
bystrewsky2019-09-12 11:12:25
JavaScript
bystrewsky, 2019-09-12 11:12:25

Mozilla Firefox blocks(?) XHR requests?

All the best! There is a page that is constantly open in the browser, in this case in Mozilla, in Chrome this problem has not yet been observed. Every 10 seconds an Ajax request is sent to the same domain. And so, after a while requests begin to be cached that-whether. That is, the browser says that the request was completed successfully, with a status of 200, but the data is returned irrelevant, and the request timings are 0 ms everywhere. This request does not reach the server, that is, the browser itself returns a response with the data that it received earlier. Tell me what could be the problem? Maybe in some browser settings?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dollar, 2019-09-12
@dollar

In the HTTP headers returned by the server.
Since you guessed that the data is cached, why didn't you google it? Topic beaten.
What should have been done before creating the question:
What should have been done when creating the question:

  • Describe how you tried to solve the problem and include the server response headers.
  • Indicate that the server gives the necessary headers in your opinion, and there should be no caching according to the specifications.
  • And that it is a paradox that you are unable to solve.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question