New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 624558 link

Starred by 4 users

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Feature



Sign in to add a comment

DevTools - Clear DNS history, close HTTPS connections

Project Member Reported by kayce@google.com, Jun 29 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36

Steps to reproduce the problem:
Forwarding a FR from the community... https://twitter.com/asolove/status/748269294253805571

What is the expected behavior?

What went wrong?
Nothing, this is a FR...

Did this work before? N/A 

Chrome version: 51.0.2704.106  Channel: stable
OS Version: 
Flash Version: Shockwave Flash 22.0 r0
 

Comment 1 by asol...@gmail.com, Jun 29 2016

I have come to use a workflow where I measure load-time performance impacts using the Network panel's waterfall diagram. I use the existing checkbox to turn off cacheing, then reload a couple times to get a sense of the normal time and load order.

Today I started working on some performance improvements related to using preconnect and DNS pre-fetching and noticed that it was difficult to get an accurate idea of what effect they were having. Refreshing multiple times, even in incognito with cacheing off, still uses the DNS cache and seems to also reuse SSL sessions previously established. 

It would be fantastic if Chrome DevTools let us prevent the use of DNS cache and existing SSL sessions to really measure the first-time visitor experience to our pages.
Project Member

Comment 2 by sheriffbot@chromium.org, Jun 30 2016

Labels: Hotlist-Google
Components: Platform>DevTools>Network
Labels: -OS-Linux -Type-Bug -Pri-2 OS-All Pri-3 Type-Feature
Summary: DevTools - Clear DNS history, close HTTPS connections (was: [DevTools Feature Request] Clear DNS history, close HTTPS connections)
For now at least, using http://www.webpagetest.org/ will let you get the results you want to analyze since it always uses a fresh connection (aside from subsequent runs within the same execution).
Status: Untriaged (was: Unconfirmed)
Status: Unconfirmed (was: Untriaged)
This is a fairly advanced technique, so I see two solutions here

1. Pick some good default behavior and bake it into a "measure the page load" refresh cycle.
2. Use about:net-internals to manage this sort of details.


Comment 6 by asol...@gmail.com, Jul 1 2016

One other thought if we're discussing advanced techniques: many load-time optimization techniques rely on knowing likely user paths through a site and optimizing later pages through clever things done on previous pages. Currently DevTools allow you a boolean yes/no on using cached assets. It would be useful, though perhaps outside of DevTools' scope, to provide something like snapshotting of a cache status. I want to save the cache status after loading page 1, and then be able to reload page 2 multiple times with just the status of the cache after page 1.
Owner: allada@chromium.org
This is something I spoke a little bit to paulirish@ about a few months ago. We did not come to a definite conclusion, but we both agreed that we should have a better way to emulate dns caching.

Part of the problem is even if we disable chrome dns cache, that does not mean somewhere up the chain did not cache it. One solution would be to bypass the default DNS server(s) and use one we know will not cache, but that poses even more problems.

Perhaps an "emulate dns latency" would be useful and put it somewhere under throttling? Right now throttling does not do anything with DNS afaik.

Comment 8 by allada@chromium.org, Jul 22 2016

Status: Assigned (was: Unconfirmed)

Comment 9 by allada@chromium.org, Oct 27 2017

Status: Archived (was: Assigned)

Sign in to add a comment