Speeding Up Safari
From O'Reilly:
Speed up Safari
May. 21, 2004 06:53 AM
This little hack is courtesy of macOSXhints.com and boy oh boy does it work great! The hack comes out of an interesting piece written by the Safari developer David Hyatt on the adding of timers to browsers. Apparently, in order to render obsolete flashing pages that can occurs when a webpage loads, (due to the client getting data from any number of sources; the stylesheet, various data sources, etc) web browsers are programmed with a little delay. The delay is, appropriately, conservative. But by adjusting a variable in the Safari preference file you can speed Safari?s delay time up.
To try this (after backing-up, etc.) go to the terminal after Safari has quit and type:
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.25
The default time in the Safari preference time is 1.0. Now go ahead and launch Safari. Notice a difference? I sure did! As someone commented on macoxhints.com it was like getting a new machine. I wouldn't go that far, that is certainly feels like Safari had a double-shot espresso.
Original MacOSXHints:
http://www.macosxhints.com/article.p...39506#comments
This is what looks like the best modification:
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay -float 0.25
Original post:
defaults write not quite right
Authored by: tinb on Thu, May 20 '04 at 04:16AM
Not quite right. You need to specify the "0.25" as a float value, not a string value which is the default. So
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay -float 0.25
will do it right.
Edited:
To summarize:
You can speed up Safari by decreasing the delay in opening web pages. To do so:
1. Quit Safari
2. Open Terminal
3. Type:
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay -float 0.25
Hit return, close Terminal
4. Restart Safari
The difference is quite noticeable.
Speed up Safari
May. 21, 2004 06:53 AM
This little hack is courtesy of macOSXhints.com and boy oh boy does it work great! The hack comes out of an interesting piece written by the Safari developer David Hyatt on the adding of timers to browsers. Apparently, in order to render obsolete flashing pages that can occurs when a webpage loads, (due to the client getting data from any number of sources; the stylesheet, various data sources, etc) web browsers are programmed with a little delay. The delay is, appropriately, conservative. But by adjusting a variable in the Safari preference file you can speed Safari?s delay time up.
To try this (after backing-up, etc.) go to the terminal after Safari has quit and type:
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.25
The default time in the Safari preference time is 1.0. Now go ahead and launch Safari. Notice a difference? I sure did! As someone commented on macoxhints.com it was like getting a new machine. I wouldn't go that far, that is certainly feels like Safari had a double-shot espresso.
Original MacOSXHints:
http://www.macosxhints.com/article.p...39506#comments
This is what looks like the best modification:
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay -float 0.25
Original post:
defaults write not quite right
Authored by: tinb on Thu, May 20 '04 at 04:16AM
Not quite right. You need to specify the "0.25" as a float value, not a string value which is the default. So
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay -float 0.25
will do it right.
Edited:
To summarize:
You can speed up Safari by decreasing the delay in opening web pages. To do so:
1. Quit Safari
2. Open Terminal
3. Type:
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay -float 0.25
Hit return, close Terminal
4. Restart Safari
The difference is quite noticeable.
Comments
Escher
bob
that's really impressive. It's like the first time I got broadband all over again!
Originally posted by Aquatic
Just got 10.3.4. People say Safarin in 10.3.4 is faster. Should we still apply this "trick" to Safari in 10.3.4?
Yes. One of the developers was talking about changing this in his blog, I assume that's where people got the idea from. But when people asked if the speed up they noticed in 10.3.4 was due to this change he said:
It's a placebo. The Safari in 10.3.4 contains only a handful of fixes and is no faster than previous versions.
http://weblogs.mozillazine.org/hyatt...05.html#005496