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.
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.
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
Post a Comment