Open Bug 1548727 Opened 7 years ago Updated 4 years ago

Incorrect caching logic used by network performance analysis

Categories

(DevTools :: Netmonitor, task, P3)

66 Branch
x86_64
macOS
task

Tracking

(Not tracked)

REOPENED

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.)

Attached image First visit —
Attached image Second visit —
Attached image Performance analysis —

Thanks for the report!

I believe that this is dup for bug 1484209

Feel free to reopen if you see difference.

Honza

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE

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

Status: RESOLVED → REOPENED
Priority: -- → P3
Resolution: DUPLICATE → ---
Summary: Network performance analysis misunderstanding → Incorrect caching logic used by network performance analysis
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: