Loading spinner spinning on a blank page

Below is what I’m getting from Stackoverflow:

Below is what I’m getting from meta.discourse.org:

This is not about speed.When I click on something,the loading spinner on a blank page lasts for 1 or 2 seconds and blocks the UI, you can do nothing during this period. It is really a big pain point.
I know that it takes sometime to render a new page.But can we improve it like:
1.If backend does the majority of the job(say,2 seconds): Do not tear down the current page after sending the request.Do it asynchronously.The user is still able to scroll up and down or even click on a new link during this period.Once the result is ready,update the content of current page.
2.If it takes backend 1 second to query the data and frontend another 1 second to do something like converting the data to a view,then probably the frontend has to be blocked for 1 second. But still, can we please do not tear down the current page so that the user can still keep reading it.Once the new content is ready we should always be able to update the view like a snap.So it is not about choose a generic placeholder or overlay.