LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Feedback/Feature Requests > request: control of chunk size and forcing Transfer-Encoding chunked

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2010, 02:11 AM
aww aww is offline
Senior Member
 
Join Date: May 2007
Posts: 237
Default request: control of chunk size and forcing Transfer-Encoding chunked

I would like to be able to fine tune the chunk size that is using when sending gzip compressed content.

By the way, is it PHP or Litespeed that triggers when something is being chunked in the first place?

I noticed that static content is NEVER chunked only PHP.

Is it possible to give us a feature to control chunking for static content and also what size chunk?

The idea behind this is to force browsers to start rendering sooner instead of having to wait for the entire file.
Reply With Quote
  #2  
Old 05-11-2010, 08:12 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
chunked encoding cannot be control in any way.
Reply With Quote
  #3  
Old 05-12-2010, 02:41 AM
aww aww is offline
Senior Member
 
Join Date: May 2007
Posts: 237
Nginx appears to somehow send static content as chunked.

Here is an example:
http://wiki.nginx.org/skins/bluwiki_skin/main.css
examine the headers to see

Is it not possible to enhance litespeed to do the same?

I guess I could pass all content through PHP to force chunking but that would make it lose last modified, etag, etc. unless I added PHP code to calculate that in the headers, which would be a lot of overkill.
Reply With Quote
  #4  
Old 05-12-2010, 12:54 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Chunked encoding should be avoided when possible, it is slow.
And I doubt it will make the page rendered faster over regular response with content-length header.
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:57 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.