I have a loading page that uses location.replace to navigate to the result page. This request can take a long time, so it takes a while to return. In the meantime, I am using long-polling ajax requests to update the loading page with progress information.I have a loading page that uses location.replac