Welcome! Log In Create A New Profile

Advanced

Handler modules : Content Handler vs Content Phase Handler

September 04, 2015 12:56PM
Hello !
I'm developping some handler modules for nginx and I'm wondering why they are two kinds of handlers :
- Content Phase Handler
- Content Handler

I read this interesting blog : http://www.nginxguts.com/2011/01/phases/
As far as I understood, the content handler could only be called once in a location configuration and the content phase handler is called everytime.
Is there a reason to prefer one type instead of another?

My last question is if there is a solution to develop content phase handler modules without calling them each time, but only if they are activated in the nginx.conf file?

Thanks in advance for helping me to understand this !
Subject Author Posted

Handler modules : Content Handler vs Content Phase Handler

goldfluss September 04, 2015 12:56PM

Re: Handler modules : Content Handler vs Content Phase Handler

Maxim Dounin September 04, 2015 02:48PM

Re: Handler modules : Content Handler vs Content Phase Handler

goldfluss September 05, 2015 10:27AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 238
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