The fact that your page is running the moment you move from one page to another, I think you can’t do anything about it, since there are many factors that can play a role (i.e. the responsiveness of your web server, the speed of your internet connection, etc.).
However, if you really want to have a good transition between pages, I suggest one of the following solutions:
1) Load the pages in an iframe. When switching from one page to another, you can show a boot message, for example, using DIV-overlay. You can hide the overlay of the download message when the page has been loaded. This can be called using the jQuery.ready () event on the child page (the parent cannot determine if the child page has been loaded).
Please note that to manage the parent page from the iframed page, all pages must be in the same domain (single domain policy).
2) If navigation occurs in the same domain / website of the application, check if you can partially download the contents of your page using jQuery.
SP
source share