image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old August 31st, 2006, 09:13 AM
Sunnz's Avatar
Who wants a stylus?
 
Join Date: Nov 2005
Location: Canberra, Australia
Posts: 359
Sunnz is on a distinguished road
Does Safari support pipelining?

Like starts rendering and displays parts of a web page before one is completely downloaded?
Reply With Quote
  #2  
Old August 31st, 2006, 01:16 PM
macworks's Avatar
Christopher Raymond
 
Join Date: Mar 2006
Location: Minneapolis, MN
Posts: 444
macworks is on a distinguished road
It definitely starts rendering before the page is completely downloaded.
__________________
Christopher Raymond
ACTC

Owner/Operator: MacWorks
Reply With Quote
  #3  
Old August 31st, 2006, 03:05 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 9,443
ElDiabloConCaca will become famous soon enough
Yes, like macworks said, it does. Does it quite frequently to me.

There are some caveats, though, which are intrinsic to the type of layout the web page author used: for example, cells in a table will begin to render as soon as the information is downloaded, whereas layers in a CSS layout will only appear once all information in that layer is downloaded (or vice-versa, something like that). Of course, this is a function of the layout and not the browser, so it would be similar under Firefox, IE or any other browser that's halfway standards-compliant.
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.4 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 3Mb/512k
http://www.jeffhoppe.com
Reply With Quote
  #4  
Old August 31st, 2006, 03:11 PM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,416
Mikuro is on a distinguished road
For the record, "pipelining" is a feature of HTTP 1.1, and refers to the method a browser can use to retrieve data from a server. How/when a browser displays that data is another matter entirely.

So...to answer your question, yes it does, but that's not what's generally called pipelining.

You can change Safari's initial rendering delay with tools like SafariSpeed, or directly from Terminal by typing:

defaults write com.apple.safari WebKitInitialTimedLayoutDelay 0.4

Where "0.4" is the number of seconds Safari should wait before displaying an incomplete web page. The default is 1.0, which many users find excessive. SafariSpeed and other utilities set it to something like 0.001, which I think is too low. 0.2-0.5 seems about right to me.

You'll need to quit Safari before making any changes to this setting.
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.2

I'm now a four-browser man. How on earth did this happen?!

Useful programs: PithHelmet, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
  #5  
Old August 31st, 2006, 11:46 PM
Sunnz's Avatar
Who wants a stylus?
 
Join Date: Nov 2005
Location: Canberra, Australia
Posts: 359
Sunnz is on a distinguished road
Quote:
Originally Posted by Mikuro View Post
For the record, "pipelining" is a feature of HTTP 1.1, and refers to the method a browser can use to retrieve data from a server. How/when a browser displays that data is another matter entirely.
Damn, I just knew I would mix up the terms from my design course!!

Thank you!

BTW, where do you get that command from? (defaults write com.apple.safari WebKitInitialTimedLayoutDelay 0.4)

Is there any documentation anywhere so that I can tweak Safari's settings myself? (Something like about:config on Firefox.) I don't want to install funky plug-ins...

Thanks.
Reply With Quote
  #6  
Old September 1st, 2006, 12:07 AM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,416
Mikuro is on a distinguished road
The "defaults" command manipulates plist files, which are used by applications to store preferences in your Preferences folder (~/Library/Preferences). "com.apple.safari" is the name of the plist file, "WebKitInitialTimedLayoutDelay" is the name of the property key within that plist, and "0.4" is the name of the desired value of that property.

You can write any value of any plist using this method.

As for how to figure out what property names are valid and what they do...that's the tricky part. If you have a plist editor (Apple includes one with their free developer tools, which came with your copy of OS X, and there are third-party ones like OmniOutliner), you can open a program's plist and see all the key-value pairs in the plist and guess what they do based on their names.

Personally, I found out about this particular property on another web forum.
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.2

I'm now a four-browser man. How on earth did this happen?!

Useful programs: PithHelmet, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
  #7  
Old September 1st, 2006, 12:20 AM
Sunnz's Avatar
Who wants a stylus?
 
Join Date: Nov 2005
Location: Canberra, Australia
Posts: 359
Sunnz is on a distinguished road
Cool thanks. I got Xcode installed btw... is that the thing that have plist editor?
Reply With Quote
  #8  
Old September 1st, 2006, 01:18 AM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,416
Mikuro is on a distinguished road
There's a separate program for it, located at "/Developer/Applications/Utilities/Property List Editor.app"
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.2

I'm now a four-browser man. How on earth did this happen?!

Useful programs: PithHelmet, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Safari 1.0 doesn't support latest version of Flash malexgreen Mac OS X System & Mac Software 5 July 14th, 2003 02:51 PM
Pipelining in Safari jdbon Mac OS X System & Mac Software 3 January 17th, 2003 11:30 AM
When Apple Tech Support doesn't support... 01000111 Hardware & Peripherals 11 March 3rd, 2002 03:55 AM


All times are GMT -5. The time now is 05:10 PM.


Mac Support® Version 3.7.0 Beta 5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.