Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Safari keeps reloading every tab

Every time I scroll through my tabs, Safari reloads the page (similar to how pages autoreload in iPhone and iPad). Anyone have a fix to stop Safari from reloading tabs all the time?

Macbook, Mac OS X (10.5.6), none

Posted on Jul 29, 2011 8:15 AM

Reply
62 replies

Jul 29, 2011 11:40 AM in response to ridikulas

Quit Safari. Open a Finder window select your Home folder in the Sidebar on the left. Then open the Library folder, then the Caches folder, then the com.apple.Safari folder. Move the cache.db file from the com.apple.Safari folder to the Trash. Relaunch Safari.


If that doesn't help, could be the preferences are corrupted ..


Go to ~/Library/Preferences. Move the com.apple.Safari.plist file to the Desktop.


Quit then relaunch Safari to test. If that helped, move the .plist file to the Trash.


~ (Tilde) character represents your Home folder.

Sep 18, 2011 10:08 AM in response to ridikulas

This has been bothering me too, and I might have a possible fix for it.


I did some digging around, and I'm pretty sure this is happening because of a new feature in Safari 5 (more specifically, it's new to Webkit2) called "multi-process windows". You can read some info about it here, but the essential point is that Safari now runs on two separate processes -- one for the user interface (the "UI process"), and one for the content (the "web process"). If any page misbehaves, it can crash the web process, but instead of causing the entire application to quit (which is what would have happened in Safari 4 and earlier), Safari now just silently restarts the web process and then reloads all the tabs you had open.


That's great in theory, but for whatever reason, the web process seems to crash or hang quite often; I see Safari 5 suddenly reloading tabs far more frequently than outright crashes used to occur in earlier versions. The net effect is that this feature that's meant to make Safari more stable has so far caused a lot more problems than it has actually solved.


Anyway, if you enable the Debug menu in Safari (you can do this with TinkerTool or any of several other similar apps; note that this is not a hack, it's simply a hidden setting in Safari, so there should be no problem with me mentioning it here), there's an option in that menu called "Use multi-process windows". I haven't tested it yet (I don't have time at the moment), but disabling that option might stop this "spontaneously reloading tabs" nonsense from happening. I'll look into it later and post a blog entry if I can confirm that this solves the issue (in which case I'll come back and post a link to it in this thread).

Sep 19, 2011 12:32 PM in response to Jason Sims

Quick follow-up: disabling "Use Multi-process Windows" (in the Debug menu) does indeed stop the unexpected reloading of tabs. After you disable this option, close any Safari windows you have open. New windows/tabs created after that point should say "Untitled [SP]" (where SP = single process).


You can confirm this fixes the problem by loading a couple of web pages into tabs, then selecting "Crash Web Process" from the Debug menu. This would normally trigger the reload behavior, but it will not cause any tabs in an [SP] window to reload.

Sep 19, 2011 2:50 PM in response to mwegner

You're right. I discovered there's no checkbox for the Debug menu in TinkerTool as I was writing my blog post about this (I could have sworn there was at one point…), so I included the Terminal command in my article.


If you like the performance of WebKit, you could also look at Chrome, which doesn't seem to suffer from this problem (because every tab is an independent process, any one of them can crash without causing the rest of them to reload).


Camino is good too. It was written by Dave Hyatt before he was hired by Apple to build WebKit and Safari. Camino uses Gecko (the same engine as Firefox) instead of WebKit, which is still pretty decent.

Safari keeps reloading every tab

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.