the server uses the CGI,B page button POST method to point to the generate.pl script.
script processing takes a long time and generates a new page B.
but after A clicks the button, the page content does not change, the window title shows the loading circle, and it takes a long time for B content to appear.
how can I display B content immediately after clicking the button to avoid repeated clicks?