Answer the question
In order to leave comments, you need to log in
White screen when navigating between pages - what does it depend on?
On some sites, when you switch pages (without any javascripts and other cheats), the page is redrawn without an intermediate white canvas of an empty window, and on others - with it.
This problem is especially relevant for sites with a dark background - blinking is quite unpleasant.
What does it depend on? How can I make it so that there is no blinking?
UPD
is meant from the point of view of the developer - what to do with the site so that people don’t have such a flashing
Answer the question
In order to leave comments, you need to log in
From the speed of data transfer (both the server with the site and the client with the browser), the workload of the client's machines and the site.
write the background not in separate style files, but immediately on this page between <style></style>. Usually the browser loads the current page, then starts pulling the rest of the .css, .js files, etc.
depends on the number of loaded scripts/styles and the number of elements in the DOM tree. the more of this, the more time elapses between the opening of the page and the appearance of anything on the screen that the browser can display on the screen.
dig in this direction.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question