M
M
Michael2017-12-18 18:00:36
local server
Michael, 2017-12-18 18:00:36

Why is localhost slow?

Chrome recently stopped working with .dev domains, and I used them for development. It's a pity, but as it is.
Here is a list of domains recommended for development:

.test
.example
.invalid
.localhost

Purely for the development version, I chose the least of the evils - .localhost. But compared to .dev it works with a delay. Those. on .dev the page was given in 200 ms, on .localhost 1200 ms. On any domains, the loss is approximately 1 sec.
Cleaned dns caches in Windows and chrome caches, what could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2017-12-18
@springimport

The problem resolved itself. The delay did not become 0, but not a second either.
And curl -o /dev/null -s -w %{time_total} example.localhost always issued without delay.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question