WebPagetest Forums
method:OPTIONS call shows up Earlier than method:GET in the Waterfall - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: method:OPTIONS call shows up Earlier than method:GET in the Waterfall (/showthread.php?tid=16110)



method:OPTIONS call shows up Earlier than method:GET in the Waterfall - sudarsunperu - 06-19-2020 10:39 PM

Hi,
I'm running the test on a SPA application. For a Single Page Application, in order to make CORS requests, we all know that the method:OPTIONS call for any Service call will happens first and then the corresponding method:GET/POST call happens.

When I run my tests, sometimes (not always) in the Waterfall, in the Details, the GET and the OPTIONS seem to be interchanged.

[attachment=968]

[attachment=969]

Clearly also the tike taken by the OPTIONS call will be very low as compared to the GET/POST call.
Can someone help with why this behaviour is observed intermittently?
Thank you in advance