Resource shows "Pending" and "From cache" in the "Google Chrome Network" tab

I have two resources on my site (png files) that appear as pending when I load the page. However, the files downloaded correctly. I assume this is because the images were downloaded from the browser cache, as shown in the Size column.

Is a resource loaded from the cache expected to display “Pending” in the “Time” column? If so, why is it not the same for the deployment.js file? It shows that it was loaded from the cache, but we see that it took 1 ms to load. In this case, all three resources (js and pngs) were loaded successfully, so there is confusion. Thanks.

Network tab showing resources in pending state

+7
html google-chrome browser-cache web networking
source share
1 answer

I notice that the resources that are next to them are related to external domains. Could this be a cross domain problem?

Everything that is retrieved from the cache must still have a “time” assigned to it, so it is not directly related to the fact from the cache.

0
source share

All Articles