Welcome! Log In Create A New Profile

Advanced

basic module questions

This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
sv
September 25, 2011 07:42AM
I am starting to learn how to write nginx module. I have a few basic
questions, these are more reference questions.

1> how do you set/create request variable?
2> how do you read a request variable?
3> can an authorization and a filter be in the same module
4> memcached checks at what phase? I fails does it check again after
the cache is loaded.
5> srcache first checks cache then does a subrequest? can it do this?

check cache -> no -> load cache, retry
yes

check cache for more information -> no -> ERROR
yes

check $url or $request_filename with information from cache ->
DECLINE
OK


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

basic module questions

sv 2745 September 25, 2011 07:42AM

Re: basic module questions

agentzh 950 September 25, 2011 12:18PM



Online Users

Guests: 125
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready