devtools network panel shows "(from ServiceWorker)" for some resources loaded from memory cache |
||
Issue descriptionSteps to reproduce: 1. Load https://blog.wanderview.com and open devtools network monitor 2. Reload a few times 3. Note that the "highlighter-small.jpg" resource is marked as "(from ServiceWorker)". 4. Click on the resource and note that it has no service worker related timing information. This resource is actually loaded from the memory cache. It was initially loaded from the service worker when the memory cache was populated. I think it would make most sense for the devtools to report that it loaded from memory cache since there will not be any observable FetchEvent in this case. CL coming.
,
Sep 11
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/82a2dd3499e33caf58ab9dd13124d2ac8fb724b3 commit 82a2dd3499e33caf58ab9dd13124d2ac8fb724b3 Author: Ben Kelly <wanderview@chromium.org> Date: Tue Sep 11 17:05:50 2018 Display "(from memory cache)" when loading ServiceWorker-produced resources from memory cache. Bug: 881961 Change-Id: Ie58d071b3a80f48274991eaed799fc144da1d6a1 Reviewed-on: https://chromium-review.googlesource.com/1214046 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Ben Kelly <wanderview@chromium.org> Cr-Commit-Position: refs/heads/master@{#590358} [modify] https://crrev.com/82a2dd3499e33caf58ab9dd13124d2ac8fb724b3/third_party/blink/renderer/devtools/front_end/network/NetworkDataGridNode.js [modify] https://crrev.com/82a2dd3499e33caf58ab9dd13124d2ac8fb724b3/third_party/blink/renderer/devtools/front_end/network/RequestHeadersView.js
,
Sep 11
|
||
►
Sign in to add a comment |
||
Comment 1 by wanderview@chromium.org
, Sep 7