quick start on writing a module?

agentzh agentzh at gmail.com
Thu Jun 17 06:15:12 MSD 2010

On Wed, Jun 16, 2010 at 5:29 PM, Mark Harrison <mh at pixar.com> wrote:
>  1.  based on the input URI, determine what file will be
>      sent.  this will possibly involved a (cached) db lookup.

Well, (cached) db lookup can be done via ngx_drizzle/ngx_postgres +
ngx_srcache + ngx_memc + memcached :)

>  2a. set these headers:
>        Content-disposition:
>        ETag:
>        X-mod_asset-version: (my custom header)

ngx_headers and/or ngx_headers_more may just do the work or at least
can serve as good examples.


More information about the nginx mailing list