Project

General

Profile

[Solved] Multiple x-sendfile headers

Added by bacco over 13 years ago

WHAT IF...
Lighty could use more than one sendfile header, so I can update some dynamic files that change in different times instead of including/requiring in php or generating all the content? Something like:

HTTP/1.1 200 OK
Content-Type: text/html
X-sendfile: /dev/shm/fcgi-output/topofpage
X-sendfile: /dev/shm/fcgi-output/navigation
X-sendfile: /dev/shm/fcgi-output/dynamiccontent
X-sendfile: /dev/shm/fcgi-output/bottomofpage

and lighty concat'em all and send?


Replies (2)

RE: [Solved] Multiple x-sendfile headers - Added by gstrauss about 2 years ago

In #2008, X-Sendfile2 was created. YMMV. See mod_fastcgi docs

    (1-2/2)