Welcome! Log In Create A New Profile

Advanced

Re: quick start on writing a module?

agentzh
June 16, 2010 10:18PM
On Wed, Jun 16, 2010 at 5:29 PM, Mark Harrison <mh@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.

Cheers,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

quick start on writing a module?

Mark Harrison June 16, 2010 05:34AM

Re: quick start on writing a module?

Maxim Dounin June 16, 2010 06:48AM

Re: quick start on writing a module?

Piotr Sikora June 16, 2010 11:20AM

Re: quick start on writing a module?

Maxim Dounin June 16, 2010 11:34AM

Re: quick start on writing a module?

Piotr Sikora June 16, 2010 11:54AM

Re: quick start on writing a module?

Maxim Dounin June 16, 2010 12:32PM

Re: quick start on writing a module?

Piotr Sikora June 16, 2010 12:52PM

Re: quick start on writing a module?

Maxim Dounin June 16, 2010 01:32PM

Re: quick start on writing a module?

Piotr Sikora June 16, 2010 01:52PM

Re: quick start on writing a module?

Piotr Sikora June 16, 2010 01:48PM

Re: quick start on writing a module?

agentzh June 16, 2010 10:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 129
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready