Changeset 1774

Show
Ignore:
Timestamp:
08/08/08 22:46:05 (4 months ago)
Author:
taher
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/doc/other_goodies.txt

    r1773 r1774  
    1010~~~~~~~~~~ 
    1111X-Sendfile is a special, non-standard HTTP header that has been 
    12 supported by Cherokee for a long time. At first you might think it is 
    13 no big deal, but think again. 
    14  
    15 It can be enabled in any CGI, FastCGI or SCGI backend. Basicaly its 
    16 job is to instruct the web server to ignore the content of the 
    17 response and replace it by whatever is specified in the header. The 
    18 main advantage of this is that it will be Cherokee the one serving the 
    19 file, making use of all its optimizations. It is useful for processing 
    20 script-output of e.g. php, perl, ruby or any cgi. 
     12supported by Cherokee for a while. At first you might think it is no 
     13big deal, but think again.It can be enabled in any CGI, FastCGI or 
     14SCGI backend. Basicaly its job is to instruct the web server to ignore 
     15the content of the response and replace it by whatever is specified in 
     16the header. The main advantage of this is that it will be Cherokee the 
     17one serving the file, making use of all its optimizations. It is 
     18useful for processing script-output of e.g. php, perl, ruby or any 
     19cgi. 
    2120 
    2221This is particularly useful because it hands the load to Cherokee, all 
    23 the response header from the backend are forwarded, the whole 
     22the response headers from the backend are forwarded, the whole 
    2423application uses a lot less resources and performs several times 
    2524faster not having to worry about a task best suited for a web server. 
     
    3029specify the delivery of files outside of the web server's document 
    3130root path. Of course, this is to be done solely in controled 
    32 environments, but it offers a huge performance gain at absolutely no 
    33 cost. 
     31environments. In short, it offers a huge performance gain at 
     32absolutely no cost. 
    3433 
    3534