Seeing occasional OCSP requests in your waterfall chart?

If you sometimes see OCSP requests in your waterfall charts to domains like here's a couple things you can do to smooth out your SpeedCurve results.

By default the SpeedCurve/WebPageTest agents don't clear the operating system certificate cache between each test. This can lead to variability in your test results as the first test on an agent will request the certs and cause the test to take longer. But subsequent tests on that same agent will already have the certs and your test result will be much faster. You can sometimes spot this behaviour as you'll see "spiky" charts in SpeedCurve where some tests are much longer than others every now and then.

OCSP Stapling 

The best way to resolve the issue is to double check that your server has OCSP stapling turned on. It's recommended for best security and performance of your SSL certs. The browser will no longer have to make extra OCSP requests and they won't show up in the SpeedCurve charts.

Clear OS certs

If you have access to WebPageTest scripting you can add the following script command which will force the OS cert cache to be cleared before the test. This will make sure that every test has to do the OCSP requests. This isn't ideal as all your tests will be slower. They will be more consistent thought.

speedcurve_clearcerts 1

Clears the OS certificate caches which causes IE to do OCSP/CRL checks during SSL negotiation if the certificates are not already cached.

Did this answer your question?