Start Render Time
|
07-15-2010, 12:15 AM
Post: #54
|
|||
|
|||
RE: Start Render Time
(07-14-2010 11:42 PM)calumfodder Wrote:(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. I did end up padding the output at first, but in order to speed up my start render times i started adding more data in the head section before the first flush and eventually had enough data there that it wasn't necessary to pad it. I found that throwing in the .css file first (just after the doctype of course) greatly reduced my start render time as the .css file got downloaded long before the bulk of the page processing got started. I also added some dummy link tags that force some form of dns prefetching for all of the domains i'm using. All in all it added up to be around 530 bytes and compressed to be around 300 bytes (a lot of it is the doctype, which is xhtml so its kind of long). Though i wonder if comment #8 in that link is correct, 2KB for chrome is quite a requirement, and one must wonder if chrome in particular looks for 2KB of total payload, compressed/uncompressed, or not as you said. After a bit of searching though i found this: http://www.kylescholz.com/blog/2010/01/p...arset.html Which gives lower figures than previously reported. Their figures are still high but only if the char set http header is missing in the first place, if one is added through the http headers or through a http meta equivalent, buffering was decreased considerably. (07-14-2010 11:42 PM)calumfodder Wrote: 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.Interesting, are there any presentation materials or videos from the conference online for that? Would be interested to look further into that. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)