Current time: 12-10-2019, 05:04 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Start Render Time
07-14-2010, 11:42 PM
Post: #53
RE: Start Render Time
(06-20-2010 12:39 PM)jarrod1937 Wrote:  I am not sure why this is, unzipping/uncompressing the file client side shouldn't be adding that much delay.
For now, i'm done tweaking for the night, we'll see if i can get both mod_gzip and chunk encoding working tomorrow. If not i may give mod_deflate a try, i believe its available even for older apache versions.

In tests I've done with flushing (was November last year) I've found that you need to be careful about the size of the initial chunk of html being sent down.

Each browser has a minimum amount of html code that needs to be received before it will start parsing the code(http://www.stevesouders.com/blog/2009/05...ent-early/ - see comment 8). So you may need to pad the initial chunk so that it will cater for the vagaries of the browser in order to initiate parsing (and get a head start in the downloading of extra resources).

A second quirk I found was that this minimum size seems to be an 'on the wire' size. E.g to take ie7 on webpagetest (needs 128B) the chunk would have to be 128B compressed size or 128B uncompressed size. I'm pretty sure I found the same behaviour on Firefox & Safari as well. So the efforts to pad a chunk to a minimum size may get borked by compressing the content sent to the browser, forcing you to perhaps add more padding than should be necessary. If you are using the php filter to do compression it would be interesting to see if you can send an initial chunk uncompressed, perhaps padded to 2KB size to capture chrome, and the rest of the chunks compressed...not sure how feasible that is.

I am curious how the players such as Google/Yahoo/etc have implemented their early flush strategies. If anyone has any links/info I'm all ears. Big Grin

An interesting point from Velocity this year was regarding rendering of a page and divs. It was mentioned that rendering would be blocked if the page was wrapped in a large root div and that removing the root div and having the page in smaller div sections allowed for the sections to be flushed individually and rendering to follow on. I haven't played with this yet. I'm not sure if it blocks the time to start render or whether it just blocks progressive rendering of the page.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Start Render Time - jarrod1937 - 06-13-2010, 07:37 AM
RE: Start Render Time - pmeenan - 06-13-2010, 07:55 AM
RE: Start Render Time - jarrod1937 - 06-13-2010, 08:05 AM
RE: Start Render Time - jklein - 06-15-2010, 05:07 AM
RE: Start Render Time - jarrod1937 - 06-15-2010, 05:55 AM
RE: Start Render Time - jklein - 06-15-2010, 07:17 AM
RE: Start Render Time - jarrod1937 - 06-15-2010, 07:37 AM
RE: Start Render Time - pmeenan - 06-15-2010, 07:40 AM
RE: Start Render Time - pmeenan - 06-15-2010, 07:43 AM
RE: Start Render Time - jarrod1937 - 06-15-2010, 07:52 AM
RE: Start Render Time - pmeenan - 06-15-2010, 07:57 AM
RE: Start Render Time - jarrod1937 - 06-15-2010, 08:32 AM
RE: Start Render Time - jklein - 06-16-2010, 11:59 PM
RE: Start Render Time - jarrod1937 - 06-17-2010, 11:00 AM
RE: Start Render Time - pmeenan - 06-17-2010, 11:55 AM
RE: Start Render Time - jarrod1937 - 06-17-2010, 12:40 PM
RE: Start Render Time - pmeenan - 06-18-2010, 10:38 PM
RE: Start Render Time - jarrod1937 - 06-20-2010, 12:15 AM
RE: Start Render Time - pmeenan - 06-20-2010, 07:46 AM
RE: Start Render Time - jarrod1937 - 06-20-2010, 10:13 AM
RE: Start Render Time - pmeenan - 06-20-2010, 10:32 AM
RE: Start Render Time - jarrod1937 - 06-20-2010, 11:06 AM
RE: Start Render Time - pmeenan - 06-20-2010, 11:08 AM
RE: Start Render Time - jarrod1937 - 06-20-2010, 11:58 AM
RE: Start Render Time - pmeenan - 06-20-2010, 12:05 PM
RE: Start Render Time - jarrod1937 - 06-20-2010, 12:39 PM
RE: Start Render Time - calumfodder - 07-14-2010 11:42 PM
RE: Start Render Time - jarrod1937 - 07-15-2010, 12:15 AM
RE: Start Render Time - pmeenan - 06-21-2010, 02:47 AM
RE: Start Render Time - jarrod1937 - 06-23-2010, 01:02 AM
RE: Start Render Time - jarrod1937 - 06-22-2010, 07:29 AM
RE: Start Render Time - jarrod1937 - 06-22-2010, 07:40 AM
RE: Start Render Time - jarrod1937 - 06-22-2010, 09:28 AM
RE: Start Render Time - pmeenan - 06-22-2010, 11:52 AM
RE: Start Render Time - pmeenan - 06-23-2010, 01:10 AM
RE: Start Render Time - jarrod1937 - 06-23-2010, 01:35 AM
RE: Start Render Time - pmeenan - 06-23-2010, 03:56 AM
RE: Start Render Time - DJMorrisInc - 06-25-2010, 06:38 AM
RE: Start Render Time - jarrod1937 - 06-25-2010, 06:49 AM
RE: Start Render Time - DJMorrisInc - 06-25-2010, 07:15 AM
RE: Start Render Time - jarrod1937 - 06-25-2010, 07:27 AM
RE: Start Render Time - pmeenan - 06-25-2010, 08:27 AM
RE: Start Render Time - DJMorrisInc - 06-25-2010, 07:40 PM
RE: Start Render Time - jarrod1937 - 06-26-2010, 12:44 AM
RE: Start Render Time - DJMorrisInc - 06-26-2010, 12:50 AM
RE: Start Render Time - pmeenan - 06-26-2010, 02:45 AM
RE: Start Render Time - DJMorrisInc - 06-26-2010, 06:33 AM
RE: Start Render Time - green-watch.org - 06-25-2010, 02:43 PM
RE: Start Render Time - jarrod1937 - 06-26-2010, 12:55 AM
RE: Start Render Time - DJMorrisInc - 06-26-2010, 02:46 AM
RE: Start Render Time - pmeenan - 06-26-2010, 02:34 AM
RE: Start Render Time - pmeenan - 06-26-2010, 12:47 PM
RE: Start Render Time - green-watch.org - 07-14-2010, 08:59 PM
RE: Start Render Time - pmeenan - 07-14-2010, 10:20 PM
RE: Start Render Time - calumfodder - 07-15-2010, 04:35 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)