In a multipage app, the entrypoint file is executed upon launch. Do the rest of the pages get run silently in the background? If I navigate to a new page, and then refresh, does the entrypoint script get re-executed as well? Does this happen before the page script?
The pages are executed in whatever order the user visits them. That means the main file might not be executed first since you can start a session on a different page by appending /<page_name> to the URL. This can also happen if a user is on some page and does a manual page refresh which would reset their session and make whatever page they are on βthe first script executed.β