Hello!
On Tue, Mar 25, 2014 at 3:04 PM, KSSK wrote:
> AgentZh,
Please do not capitalize my nick. Just call me agentzh, or my proper
given name, Yichun.
> Thank you for the SRcache module, I am planning to use it for my IT. I am
> trying to understand subrequests and the flow interaction with Nginx core
> proxy module.
Check out my NGINX tutorials:
http://openresty.org/download/agentzh-nginx-tutorials-en.html
> Could you share some references to help me understand ? Do you have any
> flowchart that shows the interaction of SRcache with proxy/upstream ? I am
> confused at the filter processing stages of subrequest vs main request.
>
Basically, srcache_fetch works at the "access" phase of the main
request while srcache_store works at the "output filter" stage of the
main request. ngx_srcache never interacts directly with
ngx_http_upstream nor ngx_http_proxy_module and it works for arbitrary
content handler modules.
I'm cc'ing the openresty-en mailing list:
https://groups.google.com/group/openresty-en
You're recommended to join the list and put such discussions there :) Thanks!
Best regards,
-agentzh