Safari maintains open webpages in RAM until the memory is needed at which point it is written to the drive.
It is one thing to be maintained the memory and another thing to process data and interact with the processor while you interact with another app.