Skip navigation

Safari keeps reloading every tab

60227 Views 60 Replies Latest reply: Apr 14, 2014 10:25 AM by techtechboom RSS
1 2 3 ... 5 Previous Next
ridikulas Calculating status...
Currently Being Moderated
Jul 29, 2011 8:15 AM

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
  • Deanius Calculating status...
    Currently Being Moderated
    Jul 29, 2011 11:39 AM (in response to ridikulas)

    Same problem. Just started a day or two ago. Can't work out why its doing this...

  • Carolyn Samit Level 10 Level 10 (83,990 points)
    Currently Being Moderated
    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.

  • sarabearinaz Calculating status...
    Currently Being Moderated
    Aug 4, 2011 12:34 AM (in response to Carolyn Samit)

    not working for me either.

  • keelymarie Calculating status...
    Currently Being Moderated
    Aug 18, 2011 2:39 PM (in response to ridikulas)

    This has been happening to me all week as well. It is so annoyng becuase you lose anythign you are working on in that tab.

     

    Help Please!

  • mtbarlow Calculating status...
    Currently Being Moderated
    Aug 25, 2011 11:25 AM (in response to ridikulas)

    Me, too... ever since my most recent software update. Any assistance, Apple? If it goes on much longer I will quit using Safari... and I hear once you go Chrome you never go back.

  • keelymarie Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 25, 2011 12:45 PM (in response to mtbarlow)

    Just switched to Chrome today because I couldn't take it anymore.

     

    It even started freezing in general as of yesterday.

     

    Hoping for a fix soon as I like my top pages in Safari.

     

    -Keely

  • Jason Sims Level 2 Level 2 (180 points)
    Currently Being Moderated
    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).

    MacBook Pro (Unibody, 15" 2.4 GHz), Mac OS X (10.6.2), 4 GB RAM
  • Jason Sims Level 2 Level 2 (180 points)
    Currently Being Moderated
    Sep 18, 2011 10:12 AM (in response to Carolyn Samit)

    This has nothing to do with cache or corrupt preferences. It's a new behavior in Safari 5 due to a major redesign of the underlying engine (Webkit2), which may still have a few bugs. If you don't actually understand the problem, you shouldn't be giving people advice on how to fix it.

  • Jason Sims Level 2 Level 2 (180 points)
    Currently Being Moderated
    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.

  • Jason Sims Level 2 Level 2 (180 points)
    Currently Being Moderated
    Sep 19, 2011 2:30 PM (in response to ridikulas)

    I just wrote a blog post that explains how to stop this annoying behavior in Safari 5.

     

    http://stormchild.tumblr.com/post/10414883514/

     

    Hope this helps anyone who's been frustrated by this problem.

  • mwegner Calculating status...
    Currently Being Moderated
    Sep 19, 2011 2:46 PM (in response to Jason Sims)

    Excellent, Jason!  This is the first reliable fix I've seen for Safari's atrocious behavior. 

     

    BTW, Tinkertool did not allow adding the Debug menu to Safari; I had to use a terminal command.

     

    I think I'll stick with Camino for a while yet, but I'm glad to know there's a way to fix Safari.

  • Jason Sims Level 2 Level 2 (180 points)
    Currently Being Moderated
    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.

  • beadgrrl Calculating status...
    Currently Being Moderated
    Nov 27, 2011 9:59 PM (in response to Jason Sims)

    Jason - thanks for the info. I did this & tabs/pages no longer spontaneously reload, BUT...now AutoFill doesn't work & when I scroll it's 'floaty,' unlike before I made the switch. Do you have any idea why these other things changed, & do I have to go back to flaky reloading to get them back? Thanks for any advice!

  • qap Level 1 Level 1 (15 points)
    Currently Being Moderated
    Dec 1, 2011 6:21 AM (in response to ridikulas)

    Safari 5.1.2 still has this bug, tabs reload on Webprocess crash

     

    /___sbsstatic___/migration-images/168/16889450-1.jpg

1 2 3 ... 5 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (2)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.