OS X

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.

It turns out that this is actually a new feature in Safari 5 (and Webkit 2) called “multi-process windows” which separates the UI processes from web/content processes meaning that in theory a problem with one won’t affect the other causing the entire application to quit. However for some reason the recent release of Safari web processes seem to crash quite often, which forces Safari to refresh each tab seemingly randomly.


If you finding this a real issue there is a workaround, unfortunately it means sacrificing some of Lions new gestures (two finger back & forward, pinch to zoom and the two finger tap smart zoom gesture) and may cause problems with the newer extensions you have installed.

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.

Safari debug menu - Multi process windows

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


Before you go

After spending over 20 years working with Macs, both old and new, theres a tool I think would be useful to every Mac owner who is experiencing performance issues.

CleanMyMac is highest rated all-round cleaning app for the Mac, it can quickly diagnose and solve a whole plethora of common (but sometimes tedious to fix) issues at the click of a button. It also just happens to resolve many of the issues covered in the speed up section of this site, so Download CleanMyMac to get your Mac back up to speed today.

mac-pc

About the author

Chris

I've been a passionate evangelist for Apple and the Macintosh throughout my working life, my first love was a Quadra 605 working with a small creative agency in the south of Norfolk UK in the mid 1990's, I later progressed to other roles in other Macintosh dominated industries, first as a Senior graphic designer at a small printing company and then a production manager at Guardian Media Group. As the publishing and printing sector wained I moved into Internet Marketing and in 2006 co-founded blurtit.com which grew to become one the top 200 visited sites in the US (according to Quantcast), at its peak receiving over 15 million visits per month. For the last ten years I have worked as an Affiliate and Consultant to many different business and start ups, my key skill set being online marketing, on page monetisation, landing page optimisation and traffic generation, if you would like to hire me or discuss your current project please reach out to me here.

You can also follow me on: and

Add Comment

Click here to post a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.