The static html pages of my project has javascript dynamically modified content and that causes FOUC (Flicker of Unstyled Content). So I made the content invisible by default and toggle display to visible after DOM ready.

The static html pages rendered very fast on my local drive, so the time gap between invisible and visible states is not obvious.

However, after the project has been integrated with WordPress and put onto remote server, the page rendering becomes a bit slower, so the time gap becomes a bit more obvious.

When I click on a hyperlink to request viewing a page, I would like WordPress to complete the redering of the page on server side and then show me the page. Waiting 1 or 2 seconds is okay. Can WP do that?