Incorrect caching logic used by network performance analysis
Categories
(DevTools :: Netmonitor, task, P3)
Tracking
(Not tracked)
People
(Reporter: scott, Unassigned)
Details
Attachments
(3 files)
What exactly does "Primed cache" mean in the context of this tool, as it doesn't seem to play by the same rules as the network monitor?
For example, at the time of logging this the Bugzilla login page loads about 29 resources plus a couple of external scripts. All of those resources have reasonable Cache-Control headers. When using the network monitor I can see that first visit transfers about 900kB, and subsequent visits only transfers about 7kB because almost every resource is cached. Great!
The performance analysis tool, however, shows a transfer size of about 360kB with an empty cache and not much less than that with a primed cache. I can't reconcile these numbers with what's shown in network monitor.
More confusingly, performance analysis claims only one out of the 27 resources are being cached, which is wildly different from the answer you'd assume by watching network monitor.
I'm confused, and I figured that others may have similar questions, hence logging this here. (I also posted this same question on reddit a few days ago, but didn't get any bites.)
| Reporter | ||
Comment 1•7 years ago
|
||
| Reporter | ||
Comment 2•7 years ago
|
||
| Reporter | ||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Thanks for the report!
I believe that this is dup for bug 1484209
Feel free to reopen if you see difference.
Honza
Comment 5•7 years ago
|
||
I am reopening after giving this a second thought since it looks like not only the size/transfer size is wrong, but also the caching logic doesn't look like being properly recorded by the Performance analysis view.
Honza
| Reporter | ||
Updated•7 years ago
|
Updated•4 years ago
|
Description
•