Jarrod1937
06-20-2010, 01:17 PM
I've been experimenting with chunked encoding with some pretty promising results. With chunked encoding my start render time is reduced by 400ms, which is pretty darn good... However i can only get chunked encoding to work if i set mod_gzip's dechunk directive to no, but then that seems to disable gzipping for the main html doc, which actually ends up slowing the site down further. So i end up with a quicker start render time but overall slower loading page. I've read that mod_gzip may buffer the output until it reaches a minimum before progressive (chunked) output can occur. So i even buffered my flushed output with around 10 kb worth of character data to reach that minimum (rumored to be 8kb), but its still a no go.
Does anyone have any experience getting mod_gzip to work on the main html doc output while allowing for chunked encoding? Worst case scenario is using php to gzip the output before flushing it for chunking, but i'd prefer to try a more elegant solution first.
Thanks!
Does anyone have any experience getting mod_gzip to work on the main html doc output while allowing for chunked encoding? Worst case scenario is using php to gzip the output before flushing it for chunking, but i'd prefer to try a more elegant solution first.
Thanks!