Problems with the plugin WP Refresh


I’ve been using MAMP for many years and today I gave Local a try.
Unfortunately when I load or refresh a page often the browser get stuck for many seconds (36 to 58) and then I get 504 Gateway Time-out.
I’ve tried different PHP versions, apache and nginx with no improvement.
I’ve discovered that the problem happens when the plugin WP Refresh is activated.

Any suggestions to solve this issue?
Thank you