catchpoint / WebPageTest.agent

Cross-platform WebPageTest agent
Other
213 stars 138 forks source link

Improved the logic for finding the base page request #560

Closed pmeenan closed 2 years ago

pmeenan commented 2 years ago

We were seeing a small number of pages in the HTTP Archive where the OCSP check was being flagged as the main document request. This improves the logic pretty significantly by first preferring the "sec-fetch-dest: document" request header and then falling back to the content-type filtering (which now includes the mime type we were missing previously).