query-monitor icon indicating copy to clipboard operation
query-monitor copied to clipboard

Debugging HTTP POST requests, such as when updating or publishing a post

Open archon810 opened this issue 4 years ago • 4 comments

I'm trying to debug slow post updates, and unfortunately, post updates are done using a POST request and a subsequent redirect back to the clean edit post url. Because of the redirect, the only debug info that comes back is from the 2nd GET request and the slow POST request is lost.

Is it possible to use this plugin to debug POST requests like that?

Thank you.

archon810 avatar Sep 10 '19 22:09 archon810

Perhaps the plugin could save the debug info from the POST request and pass it on to the GET request somehow, and then show both? Or is there a better way?

archon810 avatar Sep 10 '19 22:09 archon810

Related to #173.

crstauf avatar Oct 30 '19 00:10 crstauf

This isn't possible currently but it's high on my to-do list. It'll be enabled by #291 and some semi-persistent storage.

johnbillion avatar Nov 07 '19 19:11 johnbillion

Hi @johnbillion! Any updates on this yet? Trying to debug / profile slow queries when saving a post but having the same problem as @archon810. My slow save times are probably related to ACF with many flexible layouts and WP revisions but I can't get to the root cause and this would help immensely!

ironland avatar Jun 19 '21 05:06 ironland