HOW TO Quickie: Decrease Safari’s Loading Time

November 10, 2005 · 9 comments

By default, Apple’s Safari browser has an Initial Timed Layout Delay of 1 second before any data is parsed and then rendered in the browser. Apple made that a little conservative to say the least. So what you can do is decrease that time to say one fourth of a second. The actual setting is stored in Safari’s preference file, which you will need to edit. Make sure Safari is closed and exited, and then browse to Safari’s preferences file at ~/Library -> Preferences -> com.apple.Safari.plist. You can either open the plist file in the PList editor if you have that installed which I believe comes with XCode’s developer tools, or you can edit it in any text editor. If you open it in the PList editor, add WebKitInitialTimedLayoutDelay with a value of 0.25. If you are doing this in a text editor, add the following two lines inside of the < dict> tag. Note: Delete the spaces between each “< " and tag.

< key>WebKitInitialTimedLayoutDelay< /key>
< real>0.25< /key>

For those of you that are terminally-inclined, one line in the terminal will do the same tweak. While Safari is closed and exited, open up a terminal window and enter in the following line:

defaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.25

PaulStamatiou.com runs on the Thesis Theme for WordPress

How smart is your Theme?  How good is your support? Check out ThesisTheme for WordPress.

Thesis is the search engine optimized WordPress theme of choice for serious online publishers. If you’re a blogger who doesn’t understand a lot of PHP, Thesis will give a ton of functionality without having to alter any code. For the advanced, Thesis has incredible customization possibilities via Thesis hooks.

With so many design options, you can use the template over and over and never have it look like the same site. The theme is robust and flexible enough not only to accommodate a site like PaulStamatiou.com, but also to enable the site to run far more efficiently than it ever has before.

SEO Copywriting Made Simple
I used the Scribe WordPress plugin and service to optimize this blog post for SEO.

{ 3 trackbacks }

TipMonkies » Blog Archive » Decreasing Safari load times
November 18, 2005 at 10:14 am
The Burgess Blog » links for 2005-11-20
November 20, 2005 at 7:59 am
autofei
February 23, 2006 at 10:17 am

{ 6 comments… read them below or add one }

1 Dan McComb November 12, 2005 at 5:03 am

I used the Terminal method, and love what that does for Google’s load time. Three-quarters of a second shaved is damn near a second earned. Thanks for the tip.

Reply

2 mugget November 15, 2005 at 2:51 am

nice! :D

that really bugged me that for some reason Safari would have that lag when opening pages. and here i was just thinking that Safari was a laggy browser. :?

now i’ve just gotta close down all my tabs… “it’s never easy!” :P

Reply

3 Exprice May 25, 2008 at 1:33 pm

DAMN! Everything loads about one hundred times faster now.

You’re th’ bomb, TS.

Cheers,

vb

Reply

4 Exprice May 25, 2008 at 1:35 pm

Thank’s man. This really worked like a charm.

Pages take MUCH less time to load.

Cheers,

vb

Reply

5 Alex B. March 4, 2009 at 9:48 pm

I think this is the correct way to change the plist from terminal
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay -float 0.25

Reply

6 Alex B. March 4, 2009 at 11:11 pm

Ok, this setting is deprecated, so it’s just placebo effect (webkit guys told me)

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post:

Next post: