Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TrancyGoose

macrumors 6502
Original poster
Can't find a definite answer online. Does Safari put the idle tabs to sleep or not? I know most Chromium based browsers do.
 
The default configuration is Background Tab Suspension disabled.

Code:
defaults read ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist WebKitTabSuspension

returns "does not exist"
WebKitTabSuspension.jpg
 
  • Like
Reactions: TrancyGoose
The default configuration is Background Tab Suspension disabled.

Code:
defaults read ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist WebKitTabSuspension

returns "does not exist"
View attachment 1942429
I am not very technical, but I assume that was a no, thank you! 😀
Im trying to see if it's worth moving to Edge for example?
Installed Firefox, noticed a massive memory consumption, won't open it again! 😀
 
To enable Background Tab Suspension
- close Safari
- enable the Debug menu with

Code:
defaults write com.apple.Safari IncludeInternalDebugMenu -bool YES

- start Safari and uncheck the Disable Background Tab Suspension seen in the image above
Some info about the Debug menu https://osxdaily.com/2011/11/07/safari-debug-menu/
Thank you! Maybe you also know a way for Mac Mail not to show inline attachments? As in preview the 1 page documents in body? 😀 There is a command online, but it don't work any more 🙁 Big Sure and Monterey seem to have changed.
 
To enable Background Tab Suspension
- close Safari
- enable the Debug menu with

Code:
defaults write com.apple.Safari IncludeInternalDebugMenu -bool YES

- start Safari and uncheck the Disable Background Tab Suspension seen in the image above
Some info about the Debug menu https://osxdaily.com/2011/11/07/safari-debug-menu/

This does sadly not exist anymore!

I cannot find it in the Debug menu, and also not within the defaults file:

Code:
$ defaults read ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist | grep -Ei '(background|suspend)' | grep -i tab
$


No result for anything related to background or suspend for Tabs ...
 
  • Like
Reactions: TrancyGoose
December 2023 with macOS Sonoma with Safari 17 and still no Debug option visible 😪
 
As the option is no longer present in the menu, I doubt this will have any effect.
From Terminal
read
Code:
defaults read ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist WebKitTabSuspension

write
Code:
defaults write ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist WebKitTabSuspension -bool YES

delete
Code:
defaults delete ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist WebKitTabSuspension
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.