Mercurial > hg > ngx_http_compose_filter_module
comparison README @ 0:6535d94ae07d
Compose filter module skeleton, currently does nothing.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 12 Jul 2008 19:23:17 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6535d94ae07d |
---|---|
1 Compose module for nginx. | |
2 | |
3 This module allows compose several subrequests into one reply. The | |
4 same thing may be achieved by SSI, but unlike SSI this module will also | |
5 set Content-Length and allow range requests. | |
6 | |
7 Basically it grabs X-Compose and X-Compose-Length headers from original | |
8 reply and does the following: | |
9 | |
10 1. If X-Compose-Length present, sets Content-Length to it's value. | |
11 2. Composes multiple subrequests from X-Compose headers. | |
12 | |
13 When used without X-Compose-Length it's basically identical to SSI and | |
14 not needed. The X-Compose-Length header must be calculated correctly by | |
15 somebody. | |
16 | |
17 To compile nginx with compose module, use "--add-module <path>" option to | |
18 nginx configure. |