When an image is declared with Javascript, the browser does not stop loading the page until the image has finished loading, but instead continues to load the page and the image is downloaded in the background.
The error is thinking that the browser, when encountering a statement:
image = new Image();
image.src=”/articles/RutaDeLaImagen”;
stops loading the rest of the page’s code until it has preloaded that image into the Cache. This is not like this. Reading the above code causes the browser to start loading images in the background and CONTINUES to load HTML code. That is, the loading of images with javascript and the loading of the rest of the code almost OVERLAPPED at times, being the most normal thing for the browser to reach the