Stop Safari Automatically Reloading Tabs in OS X Lion
You may have noticed a change in the way Safari manages tabs in Lion. When a tab has been left inactive for a while Safari may start reloading each tab as you switch to them.

The first step is to enable Safaris debug menu, to do this open the Terminal and type:
defaults write com.apple.Safari IncludeInternalDebugMenu 1
Relaunch Safari now and you should see the Debug menu appear beside the Help menu. In the Debug menu uncheck the “Use Multi Process Windows”. Now close all open Safari windows, and that’s it tabs will now stop unexpectedly reloading. From now on all windows will have [SP] as a suffix to the page title, which stands for Single Process.

If you do miss using any gestures or extensions all you need to reselect the Use Multi Process Windows option and to remove debug menu from Safari reopen the Terminal and this time enter:
defaults write com.apple.Safari IncludeInternalDebugMenu 0