performance - Why chrome cached requests are taking time? -


even though chrome caching static files (js, images, etc.,) in network tab, these files taking sometime shown in below picture.enter image description here

where many of cached files loading in 0ms. can please tell me though files loading cache, why loading in >0ms?

at first glance, quite strange see chrome spending time downloading resources though coming cache. it's not time spent downloading web server you're seeing. rather, believe time spent downloading local database cache.

the retrieval of data has amount of cost involved. resources stored in database in chrome, , retrieve data requires lookup, not instant. looking data in table, there processing involved push correct data memory, since data not stored how going used. compressed, , decompressing data can slow process.

you can see in network tab that, although appears take 0 ms retrieve resources, when @ timings tab, see rounded down. example, see both 0.08 ms stalled , 0.02 ms download in request below, despite showing 0 ms in grid.

not instant

update:

i looked further , found chrome extensions seem have effect on retrieval times both cache , web, particularly ones inject content page. adblock seems cause of delay me - explanation above still applies rest.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -